Recolo(u)ring a typedef

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jajjo
    New Member
    • May 2009
    • 26

    Recolo(u)ring a typedef

    Hey there,

    I'm wondering if there is any way to make a typedef change to a different colo(u)r in the IDE.

    For example, if I wrote:

    Code:
    typedef unsigned __int64 uint64
    How could I make it so that whenever I use uint64 in my code it wouldn't just be black (like the rest of the code) and display in, say, red or green (unique to typedefs in general or perhaps that one typedef).

    Thanks for any help!
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    That rather depends on which IDE you are using, it is possible in several of them that I know.

    Comment

    • Jajjo
      New Member
      • May 2009
      • 26

      #3
      Visual Studio 2005 :)

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        You can define you own set of user defined keywords, if you look at the syntax colouring set-up there is an option to specify this colour.

        As explained here.

        Comment

        • Jajjo
          New Member
          • May 2009
          • 26

          #5
          Righteous. That was fantastically quick respons times man, awesome job.

          Thanks a lot :)

          Comment

          Working...