Skip to content

Improve tab behavior for database tables #1036

@robinmiau

Description

@robinmiau

When opening a database table in DBCode, each table opens in a new tab that remains open permanently. This differs from VS Code’s default behavior, where tabs only stay open if pinned, double-clicked, or interacted with.

As a result, opening multiple tables quickly leads to tab clutter that must be manually cleaned up.

Suggestion: Align DBCode’s tab behavior with VS Code’s preview tab system, where tabs are temporary unless explicitly pinned, double-clicked, or interacted with.

It would also be useful to have an option to reuse a single tab for DBCode views. Setting a fixed tab title does not currently prevent new tabs from being opened for each table.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions