Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio tab header color in the IDE

enter image description here

When I opened Visual Studio today, I observed there is a change in the background colour of the tabs, as shown in the picture.

How can I set it to the old/default color? Following Tools->Options, I didn't manage to find anything helpful.

like image 938
Georgios Avatar asked Dec 20 '16 09:12

Georgios


People also ask

How do I change the color of a tab in Visual Studio?

To turn on color tabs, navigate to Tools > Options > Tabs & Windows, and select Colorize tabs. There is the option to colorize by project, and the option to colorize by filetype extension is coming soon.

How do you add color to tabs?

To change the color of a sheet tab, right-click the tab, point to Tab Color and pick a color that you want. Tip: Click away from the formatted tab to see the new tab color. If you want to remove the color, right-click the tab, point to Tab Color, and pick No Color.

What do the colors in Visual Studio mean?

Here's your quick reference to the colors and icons in the editor window's right-hand margin: Yellow: The line has been changed but not yet saved. Green: The line has been changed and saved. Orange: The line has been changed, saved, and the change undone. Little square dots in the middle of the margin: Break points.


1 Answers

You have the Productivity Power Tools extension installed, which, among other features, allows customizing the colors of tabs. The idea is that you can color tabs based either on the project with which they are associated and/or the language in which the file is written (which is implemented via the file extension).

These tab-coloring features are all part of the general "Custom Document Well" package, which provides a bunch of advanced customization options for the document tabs. If you don't want any of these, but use other features of Productivity Power Tools, then you can turn them off. Go to Tools → Settings → Productivity Power Tools, and then turn "off" Custom Document Well:

If you just want to disable the coloring and return the tabs to their default colors, then go to Tools → Settings → Productivity Power Tools → Custom Document Well, and uncheck both of the "Color tabs" checkboxes:

If you just don't like the default colors and want to change them, then you can do so by going to Tools → Settings → Productivity Power Tools → Custom Document Well → Color Coding:

There are other interesting options, too; be sure to explore! Personally, this is one of my favorite features because it allows me to distinguish between headers, C code, C++ code, assembly code, and resource files at a glance, making it easy to find the one I want to switch to. I can recognize colors a lot faster than I can read names. (The project coloring is less useful to me since I tend to work on only one project at a time, but I can see that being very useful, too, for the same reasons. Humans have evolved to distinguish color very quickly.)

Update: This is not available for Visual Studio 2019; see this Developer Community thread where support was requested by the community and subsequently denied by Microsoft.

like image 84
Cody Gray Avatar answered Oct 04 '22 05:10

Cody Gray