Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go Template SupportNew to Visual Studio Code? Get it now.
Go Template Support

Go Template Support

jinliming2

|
109,256 installs
| (8) | Free
Syntax highlight support for Go text/template and html/template
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • Visual Studio Marketplace / Recommend
  • GitHub 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft