Code folding will collapse entire line containing closing bracket in some scenarios #7792
Labels
bug
Feature: Code Folding
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Milestone
This is based on #5521 , which appears to have partially addressed the issue.
Folding a block before an else (on the same line as closing bracket) will still collapse the line containing the else, in the following scenario:
Ideally, folding should always avoid folding the else into the first block when on the same line as the closing bracket for the first block.
The text was updated successfully, but these errors were encountered: