vscode-yaml
vscode-yaml copied to clipboard
Weird yaml formatting
Describe the bug
This yaml formatter does weird formatting replacement when working with CRDs.
Expected Behavior
autoformat does not replace valid characters with ? and :
Current Behavior
autoformat replaces some characters with ? and :
Steps to Reproduce
- Create
.yamlfile from.txtexample manifest provided. (Can not attach.yaml/.ymlfiles to the issue) - Make sure you use
redhat.vscode-yamlin yoursettings.json
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
- Hit save and see what happens
Environment
- [ ] Windows
- [ ] Mac
- [x] Linux
- [ ] other (please specify)