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

Go Template in YAML

Matt Jarrett

|
16 installs
| (0) | Free
Syntax highlighting for Go template expressions embedded in YAML, including block scalars.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

logo

demo

Syntax highlighting for Go template expressions inside YAML, including block scalars.

YAML has no idea what {{ }} means, so a template in a manifest renders as one flat string and a typo looks exactly like correct code. Built for Crossplane compositions using function-go-templating; Helm and Argo templates get the same treatment.

Install

code --install-extension cujarrett.gotemplate-yaml

It injects into source.yaml, so every YAML file is covered with no configuration. Colors come from your theme.

Highlighting is lexical. It shows you where the code is, not whether it is correct.

Develop

package.json plus one TextMate grammar, no runtime code. just lint, just build, just run to install locally.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft