[Insight-developers] Visual Studio .NET .txx registry hack
Damion Shelton
beowulf@cs.cmu.edu
Thu, 6 Feb 2003 11:40:52 -0500
You can enable syntax highlighting for .txx files by applying the
following registry patch:
---
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\Languages\File
Extensions\.txx]
@="{B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}"
---
Put the code in between the --- marks into a file named something like
itkhack.reg and double click on the file to apply the patch. By
changing the extension at the end of the HKEY line, you can make .NET
recognize any file type as C++ source.
The original reference for this trick is:
http://udn.epicgames.com/pub/Technical/UnrealScriptHighlighting/
-Damion-
(This account isn't registered with Insight-users; if this would be
generally useful perhaps someone can forward this message)