LookupElementBuilder

Answered

I want to use LookupElementBuilder to build a LookupElement with a list of 5 hardcoded strings. What API would I use to then display this in the popup?(like a completion)?  (Java language)

2 comments
Comment actions Permalink

Could I use LookupManager?

0
Comment actions Permalink

Nevermind, got it to work with 

LookupManager.getInstance(project).showLookup(editor,LookupElementBuilder.create("hi"));

0

Please sign in to leave a comment.