mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
selection after methods chains completion and checking parameters in context
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
interface PsiElement {
|
||||
PsiElement findElementAt(int offset);
|
||||
}
|
||||
|
||||
interface PsiFile extends PsiElement {
|
||||
}
|
||||
|
||||
public class TestCompletion(){
|
||||
void m(){
|
||||
PsiElement e = <caret>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
public class TestIndex {
|
||||
|
||||
PsiFile f;
|
||||
|
||||
void m() {
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
f.findElementAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
interface PsiElement {
|
||||
PsiElement findElementAt(int offset);
|
||||
}
|
||||
|
||||
interface PsiFile extends PsiElement {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user