Solution Colors for Visual StudioAllows you to associate a color with a solution or folder and display it in various locations within Visual Studio. Inspired by the Peacock extension for VS Code and this Visual Studio feature request. Download this extension from the Visual Studio Marketplace or get the CI build. When you have multiple instances of Visual Studio open at the same time, it can be tricky to tell them apart. Especially if you’re working on different branches of the same solution, which makes them look almost identical. This extension solves this issue by colorizing each instance to make it easy to tell them apart. The result is a subtle, yet very visible colorization that doesn’t feel noisy or distracting. It puts you in control with an array of customization options. Getting StartedTo enable colorization, open a solution or folder in Visual Studio. You are not limited to only choosing between the predefined colors. By selecting Custom... you can choose any custom color from the color dialog. Visual Studio stores the color in the .vs folder next to the solution file or in the root of the workspace folder. That ensures that the same solution will always receive the same color. After selecting a color manually, the Automatic button changes to None. That allows you to remove the color if you no longer want it. AutomaticInstead of manually assigning a color to every solution, Visual Studio can do it automatically. With this option enabled, all solutions will be assigned a color when opened. The color is calculated based on the hash of the full path of the solution, so each solution will always be assigned the same color. When Automatic colorization is enabled, the button in the submenu shows a checkmark. When automatic colorization is enabled, you can still choose your own custom color for your solution. A manually selected color always takes precedence over automatic. Colorized elements
This gives you 4 different locations to display the color and you can use all of them, or just the ones you find most helpful. You can control all that from the Tools -> Options page. To customize the colored borders, open the Border settings dialog and chose which borders and what thickness to display. How can I help?If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace. Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist. Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited. Another way to help out is to sponsor me on GitHub. |