I think code would be more readable if it highlighted enums properties with a different color to class properties.
For VS2010 / VS2013 / VS2015 / VS2017:
- 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.
来源:https://stackoverflow.com/questions/10188289/is-it-possible-to-get-visual-studio-or-resharper-to-highlight-enums-with-a-diff