locked
Syntax Highlighting for types? RRS feed

  • Question

  • User260076833 posted

    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

    Thursday, March 30, 2017 3:35 PM

All replies

  • User-2057865890 posted

    Hi Magnus,

    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".

    Best Regards,

    Chris

    Friday, March 31, 2017 1:36 AM
  • User260076833 posted

    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

    Friday, March 31, 2017 11:36 AM