vscode-yaml
vscode-yaml copied to clipboard
Disable quote formatting
Currently, there is a single option around quoting style: changing the formatter from enforcing "
to enforcing '
. I would like an option to leave quoting style alone.
Does the yaml.format.singleQuote
setting work for you?
Does the
yaml.format.singleQuote
setting work for you?
As in would it enforce single quotes? I assume so. But I do not want to enforce any quote style.
In that case disabling the formatter with yaml.format.enable is the only choice at the moment.
In that case disabling the formatter with yaml.format.enable is the only choice at the moment.
I know. This is why I am asking for better control.
Any news/plans for the issue?
This would be useful when working on large yml files where you just want to format properly but not change hundreds of quotes. I really hope this gets implemented at some point.
Related:
- https://github.com/prettier/prettier/issues/5350
- https://github.com/redhat-developer/yaml-language-server/issues/246