Advertisement Jump to content
Sign in to follow this  

How to make VS 2005 Express highlight non-CPP files?

This topic is 3843 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How is it that you find things you're looking for yourself just after asking for help? I found it. :)

Share this post

Link to post
Share on other sites
Modify this would probably work well. Unfortunately you have to login to the board to get the file...Therefore, since I was curious too, I have downloaded the files.

Create a new .reg file, and add the following

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\xx\Languages\File Extensions\.yyy]

where xx is the version of your visual studio and yyy is your extension.
This maps to the C/C++ highlighting.

Then if it isn't present, creat a usertype.dat file in your VS install. Mine is:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
Then in this .dat file add your custom keywords.

And voila!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!