vscode-better-folding
vscode-better-folding copied to clipboard
Doesn't fold the whole arrow function
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
- Paste this code to vscode
- Try to fold the function
- Need 4 steps for it!
Expected behavior
Click to the arrow in line with the function name should fold the whole function
Screenshots
https://user-images.githubusercontent.com/27290320/225201694-e4381bff-921c-4086-a96b-98127d224826.mp4
Env
vscode 1.76.0
Interesting use case. Will make sure to look into it. Thanks for reporting it!