25

I have updated to the newest Visual Studio 2019 and it looks like they have changed color scheme for text, e.g. method names became yellow. I would like to return it back to white as before, but can't figure out where this setting is.

P.S. Same thing for parameter names that became blue. There is probably some option to switch to old color scheme?

Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207

4 Answers4

34

VS2019 also introduced new "enhanced" colors for .NET languages, for which there is a separate option to toggle on and off:

Tools -> Options -> Text Editor -> C# -> Advanced, "Use enhanced colors for C# and Basic" setting

The same checkbox is listed for both C# and Basic (VB).

Jimmy
  • 27,142
  • 5
  • 87
  • 100
31

Updated answer for 2020.

Visual Studio 2019 color scheme

Make sure this is set to 2019.

Zoidbergseasharp
  • 3,697
  • 1
  • 11
  • 20
  • 3
    Yes, indeed! This is now (2020) the solution! Version of VS: 16.6.1 – Vali Maties Jun 05 '20 at 12:28
  • 1
    Yes. This is the solution now. – Jins Peter Jun 07 '20 at 10:48
  • @ValiMaties apparently not anymore. The equivalent thing for C++ is missing. For C# too. I just checked. – santahopar Dec 10 '20 at 07:00
  • @aalimian I use version 16.9.0 Preview 2.0 and it is there, I don't know what version you use! BTW, I always update my VS. – Vali Maties Dec 10 '20 at 13:38
  • @ValiMaties, please take a look at my post: https://stackoverflow.com/questions/65228947/how-to-disable-vs2019s-syntax-coloring-for-c-and-make-it-look-like-vs2017 – santahopar Dec 10 '20 at 17:05
  • @aalimian , in your comment you wrote "The equivalent thing for C++ is missing". I don't know this, I'm not a C/C++ programmer. But you also wrote "For C# too". My response was to this affirmation, because it is not true. The option is there, that ComboList is there! Please look here: https://i.ibb.co/vhqQxH4/Option-Exists.jpg It was made 2 minutes ago (2020.12.11 20:49:20) – Vali Maties Dec 11 '20 at 18:51
  • @ValiMaties, you have the Community Preview, I have the VS2019 Professional. And for C# I don't see it unfortunately. Maybe this is something available in Preview. – santahopar Dec 11 '20 at 20:23
  • Used to work great till today. Not entirely sure what caused it. – Skami Nov 09 '21 at 13:51
6

It is possible to change in Options->Environment->Fonts and Colors. There is a list with different User Memebers - ... and User Tyeps - ... that define these colors.

enter image description here

I have actually changed User Members - Fields and User Members - Properties to be same color as User Member - Parameters. It became much better, white and yellow did not work too well for me :)

Now it's almost like Visual Studio Code

Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
0

If you are coding in C++ you probably have enhanced color activate. To deactivate go Tool-->Options and from the left menu select Text Editor-->C/C++-->View. Then go to the section "Miscellaneous" on the right and change "Color Scheme" from "Enhanced" to "Visual Studio 2017"

  • This setting has apparently disappeared. I have the latest updated version Visual Studio 2019 Professional and it's not there. really disappointing. – santahopar Dec 10 '20 at 06:54