Skip to content

Database Name Truncation in status bar leading to mistakes/ambiguity #19485

Open
@swaschitz

Description

@swaschitz

Description

The full database name is not displayed in the status bar properly -- either truncated or obscured -- leading to possibly executing commands against the wrong database or just general ambiguity. There doesn't appear to be a way to make this wider on macOS or Windows that I've been able to determine. Due to lack of tab connection colorization and lack of a listed database connection near the RUN/STOP QUERY controls, this makes working in our environment dangerous. If I click on the database name, it opens the CHANGE DATABASE interface, though that also does not show the active database. It just presents an alpha list for me to select from. Please make a way to CLEARLY see the current database name in full. Screenshots included.

Image Image

Steps to Reproduce

No steps are required. You simply need a database hosted on Azure with a sufficient length name. My examples are shown in the screenshots.

Affected Area

  • Connection dialog
  • Query editor
  • IntelliSense/auto-completion
  • Query results panel
  • Object Explorer
  • Table Designer
  • Schema Compare
  • Schema Designer
  • Query Plan Visualizer
  • Other (please describe below)

If you selected "Other", please describe the affected area

No response

Environment Information

On macOS 15.5:
VS Code 1.100.2 (Universal)
MSSQL 1.32.0

On Windows 11 23H2 and 24H2:
VS Code 1.100.2
MSSQL 1.32.0

Confirmation

  • I have searched existing issues and couldn't find a match
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions