vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

feat(prettier): Support doNotIndent and commentSpacesFromContent

Open tumido opened this issue 4 years ago • 1 comments

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?

tumido avatar May 22 '21 17:05 tumido

Any idea when it will be released? :)

dyegoe avatar Apr 06 '24 06:04 dyegoe

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. 😞

tumido avatar Apr 11 '25 11:04 tumido