Jump to content
  • Advertisement
Sign in to follow this  
Zajoman

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

This topic is 3751 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

Advertisement
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]
@="{B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}"


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 GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!