https://kotlinlang.org logo
#intellij-plugins
Title
# intellij-plugins
h

Hanzhen

06/25/2020, 12:38 AM
Copy code
val lookupElement = LookupElementBuilder.create(stageNumber)
    .withIcon(icon)
    .withTailText(": " + stageName)
    .withTypeText("Stage")
    .bold()

// TODO: LookupElement can not be rendered in Kotlin
result.addElement(
    PrioritizedLookupElement.withPriority(lookupElement, priority - index)
)