https://github.com/blake-goofy/ssms-envtabs
SSMS extension - Color and name tabs by environment
https://github.com/blake-goofy/ssms-envtabs
sql-server-management-studio ssms ssms-extension
Last synced: 3 months ago
JSON representation
SSMS extension - Color and name tabs by environment
- Host: GitHub
- URL: https://github.com/blake-goofy/ssms-envtabs
- Owner: Blake-goofy
- Created: 2026-01-22T04:36:30.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-01-26T19:25:07.000Z (3 months ago)
- Last Synced: 2026-01-26T19:30:52.752Z (3 months ago)
- Topics: sql-server-management-studio, ssms, ssms-extension
- Language: C#
- Homepage:
- Size: 156 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSMS EnvTabs
A Visual Studio Extension for SQL Server Management Studio (SSMS) that automatically names query tabs and leverages SSMS's native regex feature to color them based on server and database connections. Keep your production, QA, and development environments visually distinct and easily identifiable.




## Key Features
- **Color-Coded Tabs** - 16 distinct colors to visually separate different environments
- **Tab Renaming** - Automatically name query tabs with environment names (e.g., "1. Prod", "1. QA")
- **Auto-Configuration** - Automatically create rules for new connections (retained between sessions)
- **Manual-Regex** - Add your own regex that you want applied to the ColorByRegexConfig.txt file (retained between sessions)
## Install
Download the latest `.vsix` from [GitHub Releases](https://github.com/Blake-goofy/SSMS-EnvTabs/releases) and run the installer.
### On-Demand Configuration
When you connect to a server or database that doesn't have a matching rule, EnvTabs will prompt you to configure it. This ensures you only create rules for the connections you actually use!

### Change Tab Color
You can also change a tab color directly in SSMS. Right-click the query tab, choose **Set Tab Color**, and pick a color.

### Example Configuration
```json
{
"settings": {
"enableLogging": false,
"enableAutoRename": true,
"enableAutoColor": true,
"enableConfigurePrompt": true,
"enableConnectionPolling": true,
"enableUpdateChecks": true,
"autoConfigure": "server db",
"newQueryRenameStyle": "[#]. [groupName]"
},
"serverAlias": {
"MY-LONG-SERVER-NAME": "AppServer"
},
"connectionGroups": [
{
"groupName": "Example: Exact Match",
"server": "MY-LONG-SERVER-NAME",
"database": "MyDatabase",
"priority": 10,
"colorIndex": 9
}
]
}
```
## Documentation
Full documentation is available in the [GitHub Wiki](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki).
- **[Installation](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Installation-Guide)**: Setup and requirements.
- **[Updating](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Updating)**: How updates work and how to check manually.
- **[Configuration](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Configuration-Guide)**: Global settings and prompts.
- **[Group Rules](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Group-Rules)**: Creating rules for your servers.
- **[Manual Regex Rules](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Manual-Regex)**: Advanced regex matching overrides.
- **[Tab Text Settings](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Tab-Text-Settings)**: How to clean up tab text.
- **[Color Reference](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Color-Reference)**: List of available colors (0-15).
- **[Wildcard Patterns](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Wildcard-Patterns)**: Matching syntax.
- **[How it Works](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/How-it-works)**: Technical details.
- **[Troubleshooting](https://github.com/Blake-goofy/SSMS-EnvTabs/wiki/Troubleshooting)**: Common issues and solutions.
## Support & Contributing
* **Issues**: [GitHub Issues](https://github.com/Blake-goofy/SSMS-EnvTabs/issues)
* **Discussions**: [GitHub Discussions](https://github.com/Blake-goofy/SSMS-EnvTabs/discussions)
* **Source Code**: To build from source, clone the repo and open `SSMS EnvTabs.sln` in Visual Studio 2019+ (VS SDK required).
## Author
**Blake Becker**
---
If you find this extension helpful, please consider giving it a star!