redhat-developer / redhat-developer/vscode-yaml
Wrong handlebars formatting in YAML text
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
I have a YAML for helm that has gotemplate style handlebars {{ .Values.domain }} however the formatter turns them into{ { .Values.domain } } how can I disable specific behaviour . FYI Bracket spacing is non an option here as {{.Values.domain}}isn't a correct gotemplate syntax.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by reproducing the reported formatting of {{ .Values.domain }} in a YAML document opened in the VS Code YAML extension, then trace which formatter handles the text. Done means the Go-template expression remains valid after formatting without requiring the global bracket-spacing option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, vscode, yaml
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100