Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012: different color themes for different projects

Tags:

I have two Visual Studio instances with two opened "the same" projects. The difference is the projects are from different branches. Is there a way to make Visual Studio instances' appearance different from each other depends on project? There are plenty posts about Color Theme Editor extension, but it changes theme for all instances.

like image 261
Evgeni Nabokov Avatar asked Mar 25 '13 07:03

Evgeni Nabokov


People also ask

How do I get more color themes in Visual Studio?

The easiest way to install a Visual Studio theme is to navigate over to the Extensions option in the menu bar and select Manage Extensions. The next step is to select Visual Studio Marketplace under Online on the left panel. Once done, search for the theme you want and select it in the search results.

How do I change the color scheme in Visual Studio?

Here's how to change the color theme of the IDE frame and the tool windows in Visual Studio. On the menu bar, choose Tools > Options. In the options list, choose Environment > General. In the Color theme list, choose either the default Dark theme, the Light theme, the Blue theme, or the Blue (Extra Contrast) theme.

How do I make Visual Studio look different?

Here's how to change it to a different color theme. On the menu bar, select Tools > Options. In the options list, select Environment > General. In the Color theme list, choose between the default Dark theme, the Blue theme, the Blue (Extra Contrast) theme, and the Light theme.

How do I create a custom color in Visual Studio?

Within the Visual Studio Designer, under the properties window you are able to select the ForeColor , BackColor etc using color picker. When you want to pick a color, a color picker comes up with the tabs 'Custom, Web, System'.


2 Answers

Have you tried VSCommands extension from Visual Studio Gallerty ? It has feature called Solution Badges which may help you.

Solution Badges

like image 195
user503386 Avatar answered Mar 06 '23 08:03

user503386


One option is to launch visual studio from the command line (or custom shortcuts) with the /rootsuffix argument. This forces VS to create a fresh node in the registry for all your VS settings, and on subsequent runs, with the settings saved under the provided node.

For example, I have two enlistments on a single machine, and I can open two instances of VS as follows: d:\source\green> devenv /rootsuffix green d:\source\red> devenv /rootsuffix red

One downside of this option is you will have to reconfigure all your preferences (font/colors, document formatting, symbol settings, addons and extensions, etc.) I recommend launching the default VS instance and exporting all your preferences (tools > import and export settings) to an xml file so you can import them from each of your new devenv nodes. You'll still need to manually reconfigure some other things, mainly addons.

As for customizing VS theme colors for each rootsuffix, I recommend Visual Studio 2013 Color Theme Editor (https://visualstudiogallery.msdn.microsoft.com/9e08e5d3-6eb4-4e73-a045-6ea2a5cbdabe?SRC=VSIDE). As mentioned above, you'll need to install this once for each rootsuffix you create since extension information is stored on a per-rootsuffix basis in the registry.

like image 33
Rob Meyer Avatar answered Mar 06 '23 07:03

Rob Meyer