Hello everyone,
I’ve been lurking around the boards, and I’d like to share with you something I spent some effort extracting using Python and regular expressions.
In MS Visual Studio, I always wanted syntax highlighting for OGL-related functions and constants. People suggested putting them into a file called UserType.dat, and save it where devenv.exe (VS executable) lives. Well, I’ve done a lot of work putting them into this one file!
Right now, it totals to about 7200 lines worth of functions and constants, and you can have them highlighted in visual studio (and I’d imagine other IDEs as well).
Get it here >>> http://xavierho.com/temp/sorted_keywords.txt
I’m wondering how useful this file can be to people, and I need reviews to see if anything is missing - I won’t know until this file is widely used. Please give me some feedback and any comments you have about this file.
Basic usage:
- Save it to where devenv.exe lives (usually C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE).
- Rename it to UserType.dat.
- Reopen VS, and open up options. Go to Fonts and Colors, and look for User Keywords. Change the colour to anything you like.
That’s it. Please give me feedback for improvement!
Cheers,
Xav