vscode-better-folding icon indicating copy to clipboard operation
vscode-better-folding copied to clipboard

jsx not folding on a single line

Open awesom3o opened this issue 2 years ago • 1 comments

Describe the bug folding a JSX snippet keeps the ending fold on a separate line

To Reproduce Steps to reproduce the behavior:

  1. Open a react js file
  2. fold any open tag
  3. closing tag is remaining on line below

Expected behavior fold whole snippet on one line

Screenshots open snippet folded snippet

awesom3o avatar Feb 14 '23 08:02 awesom3o

Can't seem to be able to reproduce it. Would you mind checking the settings to see if folding closing tags option is enabled?

Maybe provide more details on the project environment, is it a normal CRA app, files have .jsx extensions, does it work if all other extensions are disabled, etc..?

mtbaqer avatar Feb 15 '23 21:02 mtbaqer