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

Nomad Pack Style Go Template Support

RickyGrassmuck

|
3,989 installs
| (1) | Free
Syntax highlight support for Nomad Pack's flavor of 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

Nomad Pack Flavor Go Template Syntax Highlight Support for VSCode

Launched GitHub license GitHub stars GitHub forks GitHub issues Coverage Status

Nomad Pack Flavor Go Template Syntax Highlight Support for VSCode.

Forked from https://github.com/jinliming2/vscode-go-template

Release

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

    Go

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

    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