how to make "User Types" color work when editing C++ code?

Locked how to make "User Types" color work when editing C++ code?

  • Saturday, April 28, 2012 7:24 PM
     
     

    I set "Identifier" and "User Types" to different colors but both user types and identifiers are displayed in color set for "Identifier"

    how can I make user defined types to appear in certain color to separate them from identifiers in C++ text editor?

    let say for example I have class named "Test"

    I want it to appear in red and object of that type "objTest" to appear in green

    so that both words when declaring variable "Test objTest" would be presented in different colors

    I'm using VS 2010

    please help

    thanks


    • Edited by ColdBackup Saturday, April 28, 2012 7:25 PM
    •  

All Replies

  • Monday, April 30, 2012 7:49 AM
    Moderator
     
     Answered

    Hi ColdBackup,

    Based on my knowledge, we cannot define the object’s class in the VS ide.

    Please take a look at the following table:

    Identifier

    Identifiers in code   such as the class names, methods names, and variable names.

    User Types (Delegates)

    Type color for   delegates.

    User Types (Enums)

    Type color used for   enums.

    User Types   (Interfaces)

    Type color for   interfaces.

    User Types (Value   types)

    Type color for value   types such as structs in C#.

    More information: http://msdn.microsoft.com/en-us/library/kw7t0545.aspx

    But you can submit your suggestions to Microsoft Connect feedback portal http://connect.microsoft.com, Microsoft engineers will evaluate them seriously, thanks.


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us

    • Marked As Answer by ColdBackup Wednesday, May 02, 2012 4:01 PM
    •