mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
IDEA-50631 Chaining second smart completion should suggest possible one-element arrays as qualifier
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Bar {
|
||||
Goo getGoo();
|
||||
}
|
||||
class Goo {}
|
||||
|
||||
class Foo {
|
||||
{
|
||||
Bar[] ref = new Bar[1];
|
||||
Goo g = ref[0].getGoo();<caret>
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class Bar {
|
||||
Goo getGoo();
|
||||
}
|
||||
class Goo {}
|
||||
|
||||
class Foo {
|
||||
{
|
||||
Bar[] ref = new Bar[1];
|
||||
Goo g = <caret>
|
||||
}
|
||||
}
|
||||
+1
@@ -23,6 +23,7 @@ public class SecondSmartTypeCompletionTest extends LightCompletionTestCase {
|
||||
|
||||
public void testMethodAsQualifier() throws Throwable { doTest(); }
|
||||
public void testFieldAsQualifier() throws Throwable { doTest(); }
|
||||
public void testArrayRefAsQualifier() throws Throwable { doTest(); }
|
||||
public void testMethodWithParams() throws Throwable { doTest(); }
|
||||
public void testMergeMethods() throws Throwable { doTest(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user