Smart completion: 2 lookup strings for static member items
This commit is contained in:
@@ -110,6 +110,10 @@ class StaticMembers(val bindingContext: BindingContext, val resolveSession: Reso
|
||||
val qualifierText = qualifiedNameForSourceCode(classDescriptor)
|
||||
|
||||
return object: LookupElementDecorator<LookupElement>(lookupElement) {
|
||||
override fun getAllLookupStrings(): Set<String> {
|
||||
return setOf(lookupElement.getLookupString(), qualifierPresentation)
|
||||
}
|
||||
|
||||
override fun renderElement(presentation: LookupElementPresentation) {
|
||||
getDelegate().renderElement(presentation)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user