longkai / kubernetes-yaml-formatter

Kubernetes Style YAML Formatter for Visual Studio Code
MIT License
41 stars 3 forks source link

Disabling "Use compact sequence indent" has no effect #11

Closed justinmchase closed 4 days ago

justinmchase commented 1 year ago

I have disabled "Use compact sequence indent" but when I format the document it still dedents everything.

image

blairham commented 1 year ago

I've found that you need to add:

"kubernetes-yaml-formatter.compactSequenceIndent": false

to your settings.json

etutuit commented 1 year ago

Changing this setting in GUI creates "compactSequenceIndent": false entry in settings.json instead of mentioned "kubernetes-yaml-formatter.compactSequenceIndent": false.

longkai commented 1 month ago

Hi!

Sorry for the delay. The new v2 version will have more fine settings and bug fixes.

Hope you will find it useful.

longkai commented 4 days ago

The v2 version has been released on VSCode and fix this issue.

Give it a try!