Stencil for Visual Studio Code
This extension adds support for the Stencil template language.
This extension includes a TextMate grammar wirtten specifically for Stencil. This should allow for the best possible syntax highlighting:
Also included is a Stencil for HTML language that supports both Stencil and HTML:
Snippets are included for all common tags:
Snippets include tab stops so you can easily move around:
Autoclosing pairs are set up for
You can also use the Toggle Comment keyboard shortcut to create comments.
This will generate a
Indentation rules are included for both Stencil and Stencil for HTML. Thanks to these rules, Visual Studio Code will suggest the proper indentation.
This makes moving lines around a lot easier:
Even better, the Reindent Lines command will just work:
This extension is set up to use the following file extensions:
If you use Stencil exclusively for HTML and would like to use the