vscode-yaml
vscode-yaml copied to clipboard
feat(prettier): Support doNotIndent and commentSpacesFromContent
What does this PR do?
Allows users to configure do-not-indent style and set the amount of spaces between content and trailing comments making this extension to comply with default settings of yamllint linter.
What issues does this PR fix or reference?
Resolves:
- https://github.com/redhat-developer/vscode-yaml/issues/433
- https://github.com/redhat-developer/vscode-yaml/issues/172
Depends on:
- https://github.com/prettier/prettier/pull/10927 (requires new Prettier release)
- https://github.com/prettier/prettier/pull/10926 (requires new Prettier release)
- (required yaml-language-server-release)
Is it tested? How?
Any idea when it will be released? :)
I think since the requirements on the prettier side will never be met, I'm closing these PRs.
See discussion on https://github.com/redhat-developer/vscode-yaml/issues/172 for possible workarounds. Sorry. 😞