Syntax coloring for user-defined keywords in VS 2005

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Iceman
DBB Habitual Type Killer
DBB Habitual Type Killer
Posts: 4929
Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:

Syntax coloring for user-defined keywords in VS 2005

Post by Iceman »

It's simple to add user-defined keywords to Visual Studio 6, 7, and 8 through use of the usertype.dat file. In v6 you can set an alternate color for these keywords with Tools->Options->Format->All WIndows->User Defined Keywords.

However, for the life of me, I cannot seem to find the mechanism in v8 (Visual Studio 2005) for setting the color of the user defined keywords. Without this ability, they show up in bold blue as the other keywords do.

Anyone know how?
User avatar
Iceman
DBB Habitual Type Killer
DBB Habitual Type Killer
Posts: 4929
Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:

Post by Iceman »

Tools->Options->Environment->Fonts and Colors->User Keywords
User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

Post by KoolBear »

Now that's the ticket, ask a question and provide the answer! :)
User avatar
Iceman
DBB Habitual Type Killer
DBB Habitual Type Killer
Posts: 4929
Joined: Thu Apr 20, 2000 2:01 am
Location: Huntsville, AL. USA
Contact:

Post by Iceman »

Yup, problem is that it took me 2 days to figure it out. I was hoping that I could avoid that ... :)
User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

Post by KoolBear »

Man, that does suck! At least you found it, and also shared what you found.
You are OK in y book Iceman
Post Reply