Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zbecknell/t4-support
Provides syntax highlighting for T4 Text Templates in Visual Studio Code.
https://github.com/zbecknell/t4-support
Last synced: 7 days ago
JSON representation
Provides syntax highlighting for T4 Text Templates in Visual Studio Code.
- Host: GitHub
- URL: https://github.com/zbecknell/t4-support
- Owner: zbecknell
- License: mit
- Created: 2018-02-21T13:24:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T15:20:44.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:46:38.187Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 196 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://docs.microsoft.com/en-us/visualstudio/modeling/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](./assets/screenshot1.png)
![Dark theme screenshot](./assets/screenshot2.png)
## 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.