[Insight-users] Fwd: [Insight-developers] Visual Studio .NET .txx registry hack

Will Schroeder will.schroeder@kitware.com
Thu, 06 Feb 2003 17:34:39 -0500


A tip for those using Visual Studio .NET and who want to syntax highlight 
.txx files. (Thanks Damion Shelton.)
Will



>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-