Skip to content

Provides syntax highlighting for T4 Text Templates in Visual Studio Code.

License

Notifications You must be signed in to change notification settings

zbecknell/t4-support

Repository files navigation

T4 Support

Very basic language support for T4 Text Templates (.tt, .ttinclude) files.

For more information about using T4 templates, see Code Generation and T4 Text Templates.

Features

Provides C# syntax highlighting for embedded code within T4 templates as well as snippets for common directives and functions.

Light theme screenshot

Dark theme screenshot

Known Issues

Currently only C# embedded highlighting is supported.

Release Notes

0.5.0

Recognize .ttinclude files.

0.4.4

Fix inverted highlighting on back-to-back blocks.

0.4.3

Fixed compatibility for files without .tt extension. Thank you @awglyde!

0.4.0

Add background highlighting of open/closing brackets (<#, #>) and code blocks for better visual separation.

0.3.2

Further fixes for syntax highlighting.

0.3.1

Minor fix in syntax highlighting.

0.3.0

Added snippets!

0.2.2

Spruced up inline code regex, which fixed an issue where code failed to exit a block.

0.2.1

Fix issue where curly braces inside code blocks prevented escaping from block.

0.2.0

Rudimentary highlighting for opening/closing brackets.

0.1.3

Add extension icon.

0.1.2

Fixed sloppy highlighting.

0.1.1

Support for VS Code versions 1.0.0 and above.

0.1.0

Initial release.

About

Provides syntax highlighting for T4 Text Templates in Visual Studio Code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published