mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[java][switch completion] IDEA-271902 Fix the completion tail in case labels
Make SwitchUtils#isRuleFormatSwitch return true regardless if the passed switch block is used in a statement or an expression context. GitOrigin-RevId: fce50d7a2e2936e6653b2eae1509e6c1fe76d7ad
This commit is contained in:
committed by
intellij-monorepo-bot
parent
93651a6b69
commit
94956088c3
@@ -3,7 +3,7 @@ class Main {
|
||||
private static final int LEVEL = 0;
|
||||
void f(Object o) {
|
||||
switch(o) {
|
||||
case LEVEL:<caret>
|
||||
case LEVEL -> <caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user