mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-88517 Smart Completion: offer names for variables and parameters
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
class Foo {
|
||||
public static void main(ArrayList <caret>){
|
||||
}
|
||||
}
|
||||
+5
@@ -923,6 +923,11 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
assertStringItems("false", "true"); //todo don't suggest boolean literals in synchronized
|
||||
}
|
||||
|
||||
public void testSuggestNames() throws Exception {
|
||||
configureByTestName();
|
||||
assertStringItems("arrayList", "list");
|
||||
}
|
||||
|
||||
public void testOverloadedMethods() throws Throwable {
|
||||
doTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user