Skip to content

[Log of bugs] Folding range in hls-code-range-plugin #3294

Open
@sloorush

Description

@sloorush

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:

    image

    After folding any of the blank lines:

    image

    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

    image

    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:

@michaelpj @kokobd Did you come across any other issues with folding ranges?

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-code-range-pluginfor code range related functionalities, such as selection range and folding rangetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions