Skip to content

jinliming2/vscode-go-template

Repository files navigation

Go Template Syntax Highlight Support for VSCode

Launched GitHub license GitHub stars GitHub forks GitHub issues Coverage Status

Go Template Syntax Highlight Support for VSCode.

Release

Features

  • Support syntax highlighting for Go Template embedded in literal string in Go source file.

    Go

  • Support syntax highlighting for Go Template files: *.go.txt, *.go.tpl, *.go.tmpl, *.gtpl.

    Template

  • Support syntax highlighting for Go Template embedded in Markdown.

    Markdown

  • Support syntax highlighting for Go Template embedded in HTML, JS, and CSS files.

    HTML

  • Support syntax highlighting for Go Template embedded in unknown extension files which begin with Go Template Comment. Ex: {{ /* Go Template */ }}.

    Comment

  • Support syntax highlighting for any other custom specified file extensions.

    Custom

Known Issues

  1. This extension cannot bypass grammar check error from Language Server.
  2. Template syntax highlighting in some languages may need to reload extension. (Ctrl+Shift+P go-template.reload)

Release Notes

Changelog