javavscode icon indicating copy to clipboard operation
javavscode copied to clipboard

If-else statement code folding is misleading without showing else

Open slowhog opened this issue 1 year ago • 0 comments

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

slowhog avatar Aug 28 '24 17:08 slowhog