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

Doesn't fold the whole arrow function

Open artalar opened this issue 2 years ago • 1 comments

Hi! Thank you for improving my vscode UX! I have an old issue, which was exist in vscode and I hope your extension could solve it.

Describe the bug

I can't fold the whole arrow function by one click, need to fold separate parts - very annoying.

To Reproduce

  1. Paste this code to vscode
  2. Try to fold the function
  3. Need 4 steps for it!

Expected behavior

Click to the arrow in line with the function name should fold the whole function

Screenshots

CleanShot 2023-03-15 at 07 37 49@2x CleanShot 2023-03-15 at 06 47 39@2x

https://user-images.githubusercontent.com/27290320/225201694-e4381bff-921c-4086-a96b-98127d224826.mp4

Env

vscode 1.76.0

artalar avatar Mar 15 '23 03:03 artalar

Interesting use case. Will make sure to look into it. Thanks for reporting it!

mtbaqer avatar Mar 19 '23 18:03 mtbaqer