How to use VS.NET 7.1 to syntax color files with a nonstandard file extension?

  • Thread starter Thread starter Yves
  • Start date Start date
Y

Yves

A similar question has been answered for version 7.0 , I tried to use the
solution on 7.1, but failed

I added the extension in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\Language
services\C++\NCB default C/C++ extensions
but this did not help to get coloring for the files in question

I could not locate the key used to solve the problem under 7.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\Languages\File
Extensions

Could you please help? I would be very gratefull,

Yves
 
Here's a REG file that works for me
----------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1
\Languages\File Extensions\.tmpl]
@="{B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}"
---------------------------
 
It works ...

Thanks a lot to whoever contributed the tip.
It is a great help in my everydays job.

Sincerely,

Yves
 
Back
Top