Skip to content

If-else statement code folding is misleading without showing else #249

@slowhog

Description

@slowhog

If-else statement folding on if should either stop at else or at the end of else.

The following screenshots demonstrate the issue,

Screenshot 2024-08-28 at 10 44 29 AM

After collapse the if-else statement, what was shown is actually the else block, this is confusing.

Screenshot 2024-08-28 at 10 44 59 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions