mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-16 08:20:19 +07:00
smart completion: diamonds: forbid non applicable diamonds based on the completion position (IDEA-87053)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class TestCompletion {
|
||||
public static void test() {
|
||||
A<ArrayList<String>> ref = new A<>();
|
||||
ref.set(new ArrayList<String>(<caret>) );
|
||||
}
|
||||
}
|
||||
|
||||
class A<V> {
|
||||
A() {
|
||||
}
|
||||
|
||||
void set(V v){}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class TestCompletion {
|
||||
public static void test() {
|
||||
A<ArrayList<String>> ref = new A<>();
|
||||
ref.set(new <caret> );
|
||||
}
|
||||
}
|
||||
|
||||
class A<V> {
|
||||
A() {
|
||||
}
|
||||
|
||||
void set(V v){}
|
||||
}
|
||||
Reference in New Issue
Block a user