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