Open
Description
After adding the folding range feature in #3058, we found some minor bugs. If anyone has found any more bugs related to folding range, please note them down in this issue.
Here is the list of bugs/enhancements I could find:
-
blank lines in between declaration and function create lots of weird folding ranges
Adding blank lines:
After folding any of the blank lines:
Problems:
- Empty lines should not be folding range starts
- Blank lines between the function should not fold
-
Deleting lines retains old folding ranges for some time till it refreshes
Problems:
- It should show correct folding ranges or no folding ranges till new folding ranges can be found
-
Folding range does not interact with comments
Problems:
- Related to Make code range work on comments #3005
@michaelpj @kokobd Did you come across any other issues with folding ranges?