Yaml formatting in VS code #1017
Unanswered
TsvetomirValchev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have a yaml configuration like:
After I run the Formatting command in VS code on this yaml file using the red-hat yaml formatter as a default formatter the yaml is formatted like:
It seems to be adding 1 more tabulation and I could not find a way to modify that behaviour. I only found a way to configure how many "spacebars" one press of "tab" equals to but that doesn't seem to fix my issue as it still puts 2 spaces instead of one even then.
Also another thing:
Is there a way to disable "force line-breaks on array items"? I don't want each of the items in the arrays to be on a new line.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions