Skip to content

Server groups #18652

@dsolodow

Description

@dsolodow

The Server Groups capabilities of Azure Data Studio are quite handy and will be missed.
Can this get ported to the extension for VSCode?

https://learn.microsoft.com/en-us/azure-data-studio/server-groups

Activity

Colizobble

Colizobble commented on Feb 12, 2025

@Colizobble

This is a very useful feature of ADS that has also been in SSMS for years. It should definitely be supported by the VS Code extension. Should probably mark this issue with ADS Retirement and Enhancement labels.

grdarwin

grdarwin commented on Feb 12, 2025

@grdarwin

A very useful feature indeed, especially when working with a large number of databases for multiple customers and/or applications. Also it would be very welcome to be able to import existing Azure Data Studio server groups and connections in VSCode.

loic-moriame

loic-moriame commented on Feb 13, 2025

@loic-moriame

It looks like this is planned for February 2025: #1761 (ok, to be honest it's postponned since October 2024 release 😅)
Not exactly the same way used in Azure Data Studio, but another way to group connections by context.

self-assigned this
on Feb 18, 2025
tsutaz

tsutaz commented on Feb 19, 2025

@tsutaz

yes please

nord-

nord- commented on Mar 17, 2025

@nord-

And with the possibility to color the tabs per group.
✨ Very valuable to mark tabs with connections against prod-environment!

4 remaining items

jbauerrfid

jbauerrfid commented on May 16, 2025

@jbauerrfid

Because of sunsetting Azure Data Studio the VSCode MSSQL extension should have a feature to migrate stored database connections from ADS into VSCode in automated manner.

In our org with 50+ SQL Servers it would be horrible to do it manually for each dev.

dotnvo

dotnvo commented on May 23, 2025

@dotnvo

Because of sunsetting Azure Data Studio the VSCode MSSQL extension should have a feature to migrate stored database connections from ADS into VSCode in automated manner.

In our org with 50+ SQL Servers it would be horrible to do it manually for each dev.

Yeah i opened an issue on it #18661 but unfortunately it was closed as a dupe even though 'supporting' server groups and allowing an import from azure data studio are different things :(. Haven't heard anything unfortunately but i'm hopeful they'll respond at some point.

reopened this on Jun 10, 2025
Benjin

Benjin commented on Jun 18, 2025

@Benjin
Contributor

We added this to 1.33.0, our June 2025 release! Please check it out!

skyflyer

skyflyer commented on Jun 22, 2025

@skyflyer

We added this to 1.33.0, our June 2025 release! Please check it out!

Server groups are nice, thank you! But the tabs are not getting the colour of the server group - one issues requesting this feature (e.g. #703) is closed and another feature requests (#1684 and #18865) are still open with no comments since Apr 8. Is this also on the roadmap somewhere or is it really not possible?

Benjin

Benjin commented on Jun 23, 2025

@Benjin
Contributor

@skyflyer There's currently no official/supported way to change the status bar background or the tab styling. Over in Azure Data Studio, we had modified the VS Code core that we'd forked in order to add support for this.

Looking at the various extensions that do colorization of these areas, they're all using various hacky workarounds that I'm not comfortable with:

  • Tabs color patches your VS Code installation to add the necessary hooks, doesn't necessarily work on Mac or Linux, doesn't work in environments where you don't have write-access to the VS Code installation, and triggers a warning about installation corruption.
  • ColorTabs and VSCode Vim both work by constantly writing to your workspace config, which results in significant performance degredation and this warning:

    ⚠️ There are performance implications to using this plugin. In order to change the status bar, we override the configurations in your workspace settings.json which results in increased latency and a constant changing diff in your working directory

We'd be happy to add this functionality once VS Code officially supports either tab coloration (currently not supported) or freeform background coloration for status bar items (currently restricted to only warning and error colors).

One option that we may be able to use is to change the foreground (text color) of the connection info in the status bar, but it would then be up to the user to choose colors that are visible in their selected theme. What do you think of that?

match-gabeflores

match-gabeflores commented on Jun 23, 2025

@match-gabeflores
Contributor

Long-standing VS Code issue here:
microsoft/vscode#31308

Benjin

Benjin commented on Jun 23, 2025

@Benjin
Contributor

@match-gabeflores upvoted. Might need to be a community contribution.

PureKrome

PureKrome commented on Jun 23, 2025

@PureKrome

@match-gabeflores thanks for the link! upvoted also.

@Benjin no chance you could ninja walk down to one of the MS buildings where the VSCode team reside and chat to their PM about that issue to see if it could be thrown in a roadmap ? 🙏🏻

skyflyer

skyflyer commented on Jun 24, 2025

@skyflyer

@Benjin, thank you so much for your elaborate answer. I appreciate it.

swaschitz

swaschitz commented on Jun 25, 2025

@swaschitz

@skyflyer There's currently no official/supported way to change the status bar background or the tab styling. Over in Azure Data Studio, we had modified the VS Code core that we'd forked in order to add support for this.

Looking at the various extensions that do colorization of these areas, they're all using various hacky workarounds that I'm not comfortable with:

  • Tabs color patches your VS Code installation to add the necessary hooks, doesn't necessarily work on Mac or Linux, doesn't work in environments where you don't have write-access to the VS Code installation, and triggers a warning about installation corruption.
  • ColorTabs and VSCode Vim both work by constantly writing to your workspace config, which results in significant performance degredation and this warning:

    ⚠️ There are performance implications to using this plugin. In order to change the status bar, we override the configurations in your workspace settings.json which results in increased latency and a constant changing diff in your working directory

We'd be happy to add this functionality once VS Code officially supports either tab coloration (currently not supported) or freeform background coloration for status bar items (currently restricted to only warning and error colors).

One option that we may be able to use is to change the foreground (text color) of the connection info in the status bar, but it would then be up to the user to choose colors that are visible in their selected theme. What do you think of that?

I think that your proposed change to colorize the server/database label in the status bar would be a good effort until tab colorization is possible in the main vscode project. Agreed, you'd have to pick font colors that matched the theme, but that would at least give you some way. Alternately, instead of colorizing the text, maybe you put a glyph like a bullet/square there before the server/database name and colorize that. Even the slightest visual indicator would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @match-gabeflores@skyflyer@loic-moriame@PureKrome@Benjin

    Issue actions

      Server groups · Issue #18652 · microsoft/vscode-mssql