haskell / haskell/haskell-language-server
[Log of bugs] Folding range in hls-code-range-plugin
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 11
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 #3005
@michaelpj @kokobd Did you come across any other issues with folding ranges?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.