Go Template Syntax Highlight Support for VSCode.
- Visual Studio Marketplace / Recommend
- GitHub Release
-
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
. -
Support syntax highlighting for Go Template embedded in Markdown.
-
Support syntax highlighting for Go Template embedded in
HTML
,JS
, andCSS
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.
- 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
)