Skip to content
| Marketplace
Sign in
Visual Studio>Tools>T4 Language
T4 Language

T4 Language

Brice Lambson

|
15,073 installs
| (14) | Free
Basic language support for .tt files
Download

Adds basic language support for .tt files.

Screenshots

Text Template with syntax highlighting Dark theme

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 (Light)
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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft