20

I'm trying to change the color of the classes in the text editor. I am using Visual Studio and C#. I've been able to change all the other colors, but I can't find the options for classes.

AustinWBryan
  • 3,081
  • 3
  • 18
  • 38

1 Answers1

36

Navigate to Tools -> Options / Environment -> Fonts and Colors. Change the color for "User Types - Classes".

http://i.imgur.com/SeLaSXD.png

(Despite being named "User Types", this setting applies to all classes.)

Dennis Schröer
  • 2,322
  • 14
  • 45
Cyral
  • 13,483
  • 6
  • 47
  • 84
  • Thanks! The name isn't very intuitive. – AustinWBryan Jun 23 '15 at 23:28
  • 1
    This is found under Tools->Options / Environment->Fonts and Colors... Took me a minute to find, maybe I can save others that minute. :) – JGTaylor Aug 16 '16 at 18:45
  • Also, when I made changes they did not show up until I did this: http://stackoverflow.com/questions/10970305/how-can-i-get-user-type-c-sharp-syntax-highlighting-working-again-in-vs-2012-rc – JGTaylor Aug 16 '16 at 19:07
  • Also... Resharper apparently overrides settings that already exist. So if you have Resharper, the setting to change is: Options / Environment->Fonts and Colors-ReSharper Class Identifier. :( – JGTaylor Aug 16 '16 at 19:25
  • P.S: Sometimes you have to restart VS in order to see the changes – Abeer Sul Mar 20 '17 at 09:38
  • 1
    Answer is still valid in VS 2019. – needfulthing Aug 01 '19 at 16:37