GoLiquid YAMLSyntax highlighting, block validation, bracket matching, code folding, and Outline navigation for Go template ( Built for YAML files that embed template logic — Helm charts, Jekyll configs, Shopify themes, and any YAML with Go/Liquid templating. Screenshots
FeaturesSyntax Highlighting
Block Validation (Linter)Detects unclosed or mismatched template blocks and reports them as warnings in the Problems panel:
Bracket MatchingClick on any template open/close tag and the matching pair gets highlighted:
Code FoldingCollapse template blocks to focus on the logic that matters:
Outline NavigationKey sections appear in the Outline panel (sidebar) for quick navigation in large YAML files. What Gets HighlightedGo Templates (
|
| Element | Example |
|---|---|
| Delimiters | {{ }}, {{- -}} |
| Keywords | if, else, end, range, with, define, template |
| Functions | toYaml, indent, quote, default, nindent, printf |
| Variables | $name, $flag, $value |
| Dot accessors | .Name, .ApplicationSpec.StackSpec.repo.url |
| Operators | :=, | (pipe) |
| Strings | "hello" |
| Booleans | true, false |
Liquid Templates ({% %})
| Element | Example |
|---|---|
| Delimiters | {% %}, {%- -%} |
| Keywords | for, endfor, if, elsif, endif, assign, capture, comment, raw, endraw, unless, case, tablerow, break, continue |
| Filters | append, base64_decode, default, replace, split, strip, and 30+ more |
| Operators | ==, !=, and, or, contains, | |
| Variables | item.name, settings.api.host |
Use Cases
- Helm charts — YAML with Go template directives
- Infrastructure-as-code templates — mixed Go + Liquid templates in YAML
- Jekyll / Shopify configs — YAML with Liquid expressions
- Any YAML with embedded
{{ }}or{% %}template syntax
Installation
Search "GoLiquid YAML" in the VS Code / Cursor extensions sidebar, or:
code --install-extension ajinzrathod.goliquid-yaml
How It Works
- Syntax highlighting: TextMate grammar injection (
injectTo: source.yaml) layers template patterns on top of standard YAML - Validation, folding, bracket matching, outline: TypeScript extension using the VS Code API — activated on any YAML file
License
MIT


