Skip to content

Adds basic language support for .tt files to Visual Studio.

License

Notifications You must be signed in to change notification settings

Foda/T4Language

 
 

Repository files navigation

T4 Language for Visual Studio

build status latest version downloads license

Adds basic language support for .tt files.

The latest version is available on the Visual Studio Marketplace.

CI builds are available on the Open VSIX Gallery. Install this extension to get automatic updates.

Screenshot

Text Template with syntax highlighting

Snippets

The following code snippets are available.

Shortcut Code
assembly <#@ assembly name="" #>
import <#@ import namespace="" #>
include <#@ include file="" #>
parameter <#@ parameter name="MyParameter" type="System.String" #>

Options

You can customize the colors under Tools > Options > Environment > Fonts and Colors.

Display item Default
T4 Argument Red
T4 Argument Value Blue
T4 Delimiter Yellow (background)
T4 Directive Maroon
T4 Operator (=) Blue

See also

Code Generation using T4 Text Templates

About

Adds basic language support for .tt files to Visual Studio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.5%
  • JavaScript 0.5%