This project is a Visual Studio Code extension for StringTempalte v4 language.
You can install the extension from the VSCode Marketplace or manually by following the steps below.
- The Visual Studio Code Extension Manager
npm install -g vsce
- Clone this project
git clone https://github.com/dangmarm/stringtemplate-lang.git
- Build extension
vsce package
- Install extension
code --install-extension .\stringtemplate-lang-0.0.1.vsix
- Syntax highlight
- Templates folding
- Shortcut to comment code
- Indent decorator to if ... endif code (does not modify the source code)
Plain stg | Formatted stg |
---|---|
At this moment it only supports templates that use '$' as a delimiter.
Distributed under the MIT License. See LICENSE
for more information.