coupergateway / couper-vscode

VSCode extension with syntax highlighting and auto-completion for couper config file
https://marketplace.visualstudio.com/items?itemName=couper.couperconf
MIT License
5 stars 0 forks source link

Enhance formatter #119

Closed afflerbach closed 1 year ago

johakoch commented 1 year ago

change: with my commit

foo({
  "label"
})

would be formatted

foo({
    "label"
})

i.e. the indentation depth depends on the number of open braces/parentheses/brackets.

johakoch commented 1 year ago

@afflerbach If my commit is ok, I'd apprive and merge the PR.

afflerbach commented 1 year ago

Yeah, let's leave it at that until the next complaint :slightly_smiling_face: