VSCodeBeautify icon indicating copy to clipboard operation
VSCodeBeautify copied to clipboard

is there a way to avoid expanding the collapsed code after formaing?

Open originalstacie opened this issue 6 years ago • 3 comments

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?

originalstacie avatar May 12 '19 03:05 originalstacie

I am looking for the same thing rn.

Here is the beautify way of this. image

Here is how I'd like it to be. image

Is there a way to do this?

ShadowNovaReal avatar Aug 14 '19 13:08 ShadowNovaReal

I am looking for the same thing rn.

Here is the beautify way of this. image

Here is how I'd like it to be. image

Is there a way to do this?

Maybe you can do this by modifying this setting: "brace_style":"collapse,preserve-inline".

originalstacie avatar Aug 27 '19 01:08 originalstacie

Correct @originalstacie "brace_style":"collapse,preserve-inline" should work.

HookyQR avatar Aug 27 '19 02:08 HookyQR