Nomad Pack Flavor Go Template Syntax Highlight Support for VSCode
Nomad Pack Flavor Go Template Syntax Highlight Support for VSCode.
Forked from https://github.com/jinliming2/vscode-go-template
Release
Features
Note: screenshots below have the old delimiters, will update with screenshots of the new ones!
Uses the alternative [[ ]] opening and closing delimiters that are used in Nomad-Pack template files.
Support syntax highlighting for Go Template embedded in literal string in Go source file.
Support syntax highlighting for Go Template files: *.go.txt , *.go.tpl , *.go.tmpl , *.gtpl *.tpl .
Support syntax highlighting for Go Template embedded in Markdown.
Support syntax highlighting for Go Template embedded in HTML , JS , and CSS files.
Support syntax highlighting for Go Template embedded in unknown extension files which begin with Go Template Comment. Ex: [[ /* Go Template */ ]] .
Support syntax highlighting for any other custom specified file extensions.
Known Issues
- This extension cannot bypass grammar check error from Language Server.
- Template syntax highlighting in some languages may need to reload extension. (Ctrl+Shift+P
go-template.reload )
Release Notes
Changelog
| |