/SolutionColors

A Visual Studio extension

Primary LanguageC#Apache License 2.0Apache-2.0

Color Preview for Visual Studio

Build

Download this extension from the Visual Studio Marketplace or get the CI build.


Allows you to associate a color with a solution and display it in various locations within Visual Studio. Inspired by the Peacock extension for VS Code and this Visual Studio feature request.

Color locations

There are three locations where you can chose to display the color.

Puts a border on either the bottom, left, or right side of the main document window.

Colors

Colorize the solution name in the title bar at the top of Visual Studio.

Solution Label

The colors are also added to the Windows Taskbar to make it easy to tell the instances apart.

Taskbar

Chose a color

You can pick a color from the context menu of the solution node in Solution Explorer:

Context Menu

Auto-Mode

Instead of manually assigning a color to every solution, the extension 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 have the same color.

Settings

Set the width of the line in the options dialog and determine the locaion

Options

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.