mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] show method calls before closure blocks
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class GroovyBreadcrumbsInfoProvider : BreadcrumbsInfoProvider() {
|
||||
|
||||
override fun getElementInfo(e: PsiElement) = when (e) {
|
||||
is GrVariableDeclaration -> e.variables.single().name
|
||||
is GrClosableBlock -> (e.parent as? GrMethodCall)?.invokedExpression?.text + "{}"
|
||||
is GrClosableBlock -> (e.parent as? GrMethodCall)?.invokedExpression?.text?:"" + "{}"
|
||||
is GrAnonymousClassDefinition -> "new ${e.baseClassReferenceGroovy.referenceName}"
|
||||
is GrMethod -> "${e.name}()"
|
||||
is GrMember -> e.name!!
|
||||
|
||||
Reference in New Issue
Block a user