-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code folding doesn't work for single-line if/else statements #7809
Comments
@vacing Thanks, I'll check it out tomorrow... |
It's me who should say thanks for your great work and rapid response. |
@vacing I'm seeing code folding not working for single line if/else statements. So in your case, the last "else if" doesn't fold, but it also repros with
Is that the issue you are seeing? It seems like that behavior may be "by design", since it also repros with VS. I'll see if I can find out for sure. Was there a reason you believe folding of 1 line if/else would be desirable? |
TypeScript in VS Code has the same folding behavior -- I'm closing this as "by design". |
What I mean is fold the outer |
Oops, sorry, I didn't see that behavior previously. |
: > |
thank you, it workes fine for the previous case, now I have a new bad case : (
Originally posted by @vacing in #5521 (comment)
The text was updated successfully, but these errors were encountered: