mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 10:51:25 +07:00
IDEA-65583:
insert import when completing a class reference with existing generics on tab, replace the generics, if any
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class Foo {
|
||||
public static void main(String[] args) {
|
||||
List<Integer> set = new ArrayLis<caret>t<Integer>();
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class Foo {
|
||||
public static void main(String[] args) {
|
||||
List<Integer> set = new ArrayList<Integer>(<caret>);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Foo {
|
||||
public static void main(String[] args) {
|
||||
Set<caret><Integer>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import java.util.Set;
|
||||
|
||||
public class Foo {
|
||||
public static void main(String[] args) {
|
||||
Set<caret><Integer>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user