Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What color is that? Building a color theme for Visual Studio

When customizing my Visual Studio color scheme I am often confounded by the "Fonts and Colors" area.

vs colors

Often, I want to change a specific color, say: the color used for TODO lines, but I need to read through 100s of color names just to figure out what that is. Often I am unable to figure what what color is what.

Is there any documentation out there that lists which colors are which?

Or even better, is there a plugin that allow me to highlight text in the editor and change the scheme of the selected text (figure out what color/s it is)?

like image 451
Sam Saffron Avatar asked Feb 28 '11 02:02

Sam Saffron


People also ask

What do the colors mean in Visual Studio?

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.

How do I find colors in Visual Studio?

Visual Studio themes Users are prompted to select a theme during their first use of Visual Studio and are able to switch themes later by going to Tools > Options > Environment > General and choosing a new theme from the "color theme" drop-down menu.

What theme does Visual Studio use?

These themes are most compatible with Visual Studio 2022 Preview 4 and above. Supported themes: Abyss, Dark+, Kimbie Dark, Light+, Monokai, Monokai Dimmed, Quiet Light, Red, Solarized Dark, Solarized Light, Tomorrow Night Blue.


1 Answers

I totally agree that this list is messy.

I personally find the Studio Styles page helpful to create Visual Studio color schemes.

If you click on Create a scheme and hover over the different code elements it will show you a tooltip with the naming of that item to find it in Visual Studio (like Keyword, User Types(Delegates), Brace Matching(Rectangle) etc.):

enter image description here

Of course you could also just build the complete theme then on their page and export it. It also provides an import functionality to change your pre-existing Visual Studio scheme directly there.

Anyhow, I would also love to have an extension to do so directly in Visual Studio ;)

like image 140
Martin Buberl Avatar answered Sep 21 '22 20:09

Martin Buberl