How to make VS 2005 Express highlight non-CPP files?
How is it that you find things you're looking for yourself just after asking for help? I found it. :)
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
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!
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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement