mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
IDEA-69328 Code completion in switch...case: complete other possible values from already ref'd class
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Foo {
|
||||
void foo(int i) {
|
||||
switch (i) {
|
||||
case Constants.BAR0: return;
|
||||
case B<caret>:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface Constants {
|
||||
int BAR0 = 0;
|
||||
int BAR1 = 1;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
class Foo {
|
||||
void foo(int i) {
|
||||
switch (i) {
|
||||
case Constants.BAR0: return;
|
||||
case Constants.BAR1:<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface Constants {
|
||||
int BAR0 = 0;
|
||||
int BAR1 = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user