Skip to content

dangmarm/stringtemplate-lang

Repository files navigation

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

  • 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

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
STG plain text STG formatted text

Limitations

At this moment it only supports templates that use '$' as a delimiter.

License

Distributed under the MIT License. See LICENSE for more information.