Open Alexsey opened 6 years ago
Same behavior with java:
if (true) {
System.out.println();
} else if (true) {
System.out.println();
} else if (true) {
System.out.println();
} else {
System.out.println();
}
still a problem now
I have the same issue with try-catch blocks.
I have Cycle count on all brackets
option turned on.
This might finally be fixed.
As for the latest version 2023.1.0, it doesn't look fixed:
Yep, because the fix is not verified and added to the current release, for now, I still need some time to verify to not break other features.
@izhangzhihao for the sake of consistency, this issue may also have the "from paid user" badge. I'm with you from the start =)
Your programming language
JavaScript
Expected Behavior
if
, consequentif else
and finalelse
should be considered as having the same levelTalking in terms of colors on the screenshot, the parenthesizes of
(a)
,(b)
and(c)
should have the same color and parenthesizes off()
,g()
,h()
andq()
should have the same colorCurrent Behavior
Every
if else
is considered as nested to the precedingif
orif else
. Finalelse
is considered as the same level as precedingif else
Talking in terms of colors on the screenshot, the parenthesizes of
(a)
,(b)
and(c)
have different colors and parenthesizes off()
,g()
,h()
have different colorsFor some strange reason, parenthesizes of
f()
has the same color as(b)
andg()
has the same color as(c)
Code snippet for reproduce (for bugs)
Your Environment