-
Notifications
You must be signed in to change notification settings - Fork 577
Description
Description
Describe the bug
When both the MSSQL and PostgreSQL extensions are installed in VS Code, the query editor displays duplicate action icons (e.g., Run, Explain, etc.)—one set from each extension. This clutters the UI and may confuse users, especially since some icons appear visually identical but may trigger different extension behaviors.
This likely stems from both extensions contributing similar editor/title actions without proper scoping or conditional logic based on the active connection type.
Screen.Recording.2025-06-05.at.9.50.41.AM.mov
Only the relevant set of icons for the active connection or query type should appear in the query editor. Extensions should scope their editor contributions to avoid duplicating UI elements when multiple extensions are present.
I also created this issue in the PG team repo:
microsoft/vscode-pgsql#67
Steps to Reproduce
- Install both the MSSQL and PostgreSQL extensions in VS Code.
- Open a SQL file or start a query editor for either MSSQL or PostgreSQL.
- Observe the toolbar icons at the top of the editor.
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
- VS Code Version: 1.100.3
- MSSQL Extension Version: 1.32.1
Confirmation
- I have searched existing issues and couldn't find a match
- I want to work on this issue