mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Groovy: Map key completion: Completion must work in case "someMethod(param<caret>: 'value')"
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ public class GroovyCompletionContributor extends CompletionContributor {
|
||||
private static final ElementPattern<PsiElement> IN_ARGUMENT_LIST_OF_CALL =
|
||||
psiElement().withParent(psiElement(GrReferenceExpression.class).withParent(psiElement(GrArgumentList.class).withParent(GrCall.class)));
|
||||
private static final ElementPattern<PsiElement> IN_MAP_KEY_ARGUMENT_LIST_OF_CALL =
|
||||
psiElement().withParent(psiElement(GrArgumentLabel.class).withParent(psiElement(GrNamedArgument.class).withParent(psiElement(GrArgumentList.class).withParent(GrCall.class))));
|
||||
psiElement(GroovyTokenTypes.mIDENT).withParent(psiElement(GrArgumentLabel.class).withParent(psiElement(GrNamedArgument.class).withParent(psiElement(GrArgumentList.class).withParent(GrCall.class))));
|
||||
|
||||
private static final String[] THIS_SUPER = {"this", "super"};
|
||||
private static final InsertHandler<JavaGlobalMemberLookupElement> STATIC_IMPORT_INSERT_HANDLER = new InsertHandler<JavaGlobalMemberLookupElement>() {
|
||||
|
||||
Reference in New Issue
Block a user