Is it possible to get Visual Studio or Resharper to highlight enum's with a different color?
For VS2010 / VS2013 / VS2015 / VS2017 / VS2019:
- Tools->Options->Environment->Fonts and Colors:
- Show Settings For Text Editor
- Display Items: User Types (Enums)
- Change Item Foreground
You have to enable "Color identifiers" in ReSharper -> Options -> Code Inspection -> Settings
.
Then you can define the forground/background colors for Enum identifiers in Tools -> Options -> Environment -> Fonts and Colors
(select "ReSharper Enum Identifier" in the "Display items" list.
Note: this is for VS 2010 / ReSharper 6.1.