Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to get Visual Studio or Resharper to highlight enum's with a different color?

I think code would be more readable if it highlighted enums properties with a different color to class properties.

like image 308
superlogical Avatar asked Apr 17 '12 09:04

superlogical


1 Answers

For VS2010 / VS2013 / VS2015 / VS2017 / VS2019:

  1. Tools->Options->Environment->Fonts and Colors:
  2. Show Settings For Text Editor
  3. Display Items: User Types (Enums)
  4. Change Item Foreground
like image 74
Scroog1 Avatar answered Sep 22 '22 01:09

Scroog1