Visual Studio 2022 tabs colorizing not working properly

Viewed 34

I have a relatively large solution with 20+ projects.

I would like the tabs of the files to be colorized by project so I used this settings:

enter image description here

Unfortunately, Visual Studio 17.3 uses the same color for more than 1 project....

This is 3 different documents from 3 different projects but I see 2 separate colors:

enter image description here

What else should I set?

1 Answers

It looks like Visual Studio may have a slight ineptitude when trying to determine the colors. I had the same issue between my main project and a unit test project (they both had the same color).

Luckily, it looks like you can select the desired color that you want for each project, and after doing so, anytime you open a file in the project, it will now use that color, fixing the issue. To set the color, I recommend the following way (to better see which projects use what color):

  1. Click the gear icon at the top right of your tabs
  2. Click either place tabs on left or right
  3. Right click any tab in the project you wish to change the color of
  4. At the bottom of the list, select "Set tab color" and choose a new color.

Repeat steps 3 and 4 for all the projects you need to switch the color of.

Related