Tabs Studio Blog (organizing Visual Studio document tabs)

November 19, 2024

SSMS properties for tab coloring

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 10:07 pm

I’ve created the new SQLProperties add-in that adds DatabaseName, ServerName and UserName properties to tabs in SQL Server Management Studio.

You can reference them in tab coloring rule custom conditions like this:

<ConditionX (TabsStudioSQLProperties:Properties.DatabaseName)="master"/>
<ConditionX (TabsStudioSQLProperties:Properties.ServerName)="DESKTOP-2FRV28R"/>
<ConditionX (TabsStudioSQLProperties:Properties.UserName)="DESKTOP-2FRV28R\sv"/>

Download link: SQLProperties_100.zip

Blog at WordPress.com.