I would like to have a different color for types like "String" or "Object" in the Visual Studio's text editor.
But I don't find the entry in the "Fonts and Colors" menu.
I would like to have a different color for types like "String" or "Object" in the Visual Studio's text editor.
But I don't find the entry in the "Fonts and Colors" menu.
What's the correct entry?
Go Tools -> Options -> Fonts and Colors, change the color for "User Types - Classes".
Whatever color I choose for "User Types - Classes", my own classes will have that color then, but predefined classes like "String" are displayed darker...
Member
33 Points
425 Posts
Syntax Highlighting for types?
Mar 30, 2017 03:35 PM|Yeoman|LINK
Hello,
I would like to have a different color for types like "String" or "Object" in the Visual Studio's text editor.
But I don't find the entry in the "Fonts and Colors" menu.
What's the correct entry?
Thanks
Magnus
All-Star
17652 Points
3510 Posts
Re: Syntax Highlighting for types?
Mar 31, 2017 01:36 AM|Chris Zhao|LINK
Hi Magnus,
Go Tools -> Options -> Fonts and Colors, change the color for "User Types - Classes".
Best Regards,
Chris
Member
33 Points
425 Posts
Re: Syntax Highlighting for types?
Mar 31, 2017 11:36 AM|Yeoman|LINK
Thank you!
Now I also know why I did not find it myself:
Whatever color I choose for "User Types - Classes", my own classes will have that color then, but predefined classes like "String" are displayed darker...
Have you an explanation why?
Thanks
Magnus