mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
don't qualify class references twice
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class A {{
|
||||
foo.Foo<String> f = new bar.Bar();<caret>
|
||||
}}
|
||||
|
||||
class Bar {}
|
||||
@@ -0,0 +1,5 @@
|
||||
class A {{
|
||||
foo.Foo<String> f = new B<caret>
|
||||
}}
|
||||
|
||||
class Bar {}
|
||||
+6
@@ -1032,6 +1032,12 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
checkResultByTestName();
|
||||
}
|
||||
|
||||
public void testQualifiedAfterNew() throws Exception {
|
||||
myFixture.addClass("package foo; public interface Foo<T> {}");
|
||||
myFixture.addClass("package bar; public class Bar implements foo.Foo {}");
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testTabAfterNew() throws Exception {
|
||||
doFirstItemTest('\t');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user