VSCodeBeautify
VSCodeBeautify copied to clipboard
is there a way to avoid expanding the collapsed code after formaing?
Every time after I format the code, as long as the format is changed the collapsed code will be unfolded, is there a way to fix it?
I am looking for the same thing rn.
Here is the beautify way of this.

Here is how I'd like it to be.

Is there a way to do this?
I am looking for the same thing rn.
Here is the beautify way of this.
Here is how I'd like it to be.
Is there a way to do this?
Maybe you can do this by modifying this setting: "brace_style":"collapse,preserve-inline".
Correct @originalstacie "brace_style":"collapse,preserve-inline" should work.