PDA

Click to See Complete Forum and Search --> : highlight keywords


May 31st, 2000, 07:07 AM
I know there is a file where if you add words to it, it will highlight them in the Visual C++ Code Editor. Does anyone know what the name of this file is?

May 31st, 2000, 12:51 PM
uumm,
how about .cpp

Shabble
Jun 4th, 2000, 12:04 PM
Originally posted by Megatron
I know there is a file where if you add words to it, it will highlight them in the Visual C++ Code Editor. Does anyone know what the name of this file is?


From http://www.codeproject.com/tips/usertype.asp:


Visual Studio allows you to specify your own keywords for syntax coloring. You simply need to provide a file called UserType.dat. This file should contain each keyword you want highlighted, with each keyword on a separate line.

Place the file in the same directory as msdev.exe, and then in Visual Studio go to Tools | Options and select the Format tab.