mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-26763 Auto-complete Generics on the RHS (now in basic completion as well)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import java.util.HashMap;
|
||||
|
||||
public class A {
|
||||
private HashMap<String, String> m = new HashMap<St<caret>>()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
import java.util.HashMap;
|
||||
|
||||
public class A {
|
||||
private HashMap<String, String> m = new HashMap<String, String>(<caret>)
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class HashMap<T,V> {}
|
||||
|
||||
public class A {
|
||||
private HashMap<String, String> m = new HashMap<String, String><caret>();
|
||||
private HashMap<String, String> m = new HashMap<String, String>();<caret>
|
||||
}
|
||||
|
||||
+9
@@ -1315,4 +1315,13 @@ public class ListUtils {
|
||||
checkResult()
|
||||
}
|
||||
|
||||
public void testSuggestAllTypeArguments() {
|
||||
configure()
|
||||
assert 'String, String' == lookup.items[1].lookupString
|
||||
lookup.currentItem = lookup.items[1]
|
||||
type '\n'
|
||||
checkResult()
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user