Is there any way to tell Visual Studio 2010 to enable syntax highlighting for .tt files? I do have a directive to set the extension:
<#@ output extension=".ascx" #>
So I'd like Visual Studio to treat the file as an ascx file for the purpose of Syntax Highlighting.
TT stands for - Visual Studio Text Template is a software development tool created by the Microsoft. Further explanation - TT file contains text block and control logic used for generating new files. To write the Text Template file we can use either - Visual C# or Visual Basic Code.
Try the Tangible T4 Editor extension. There's a free version you can grab to try it out, but if you use them often, it's worth getting the pro license.
As well as the Tangible editor mentioned above there's also the Clarius one, Visual T4. You can find both on the Visual Studio Gallery and see which one you prefer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With