How do I show a popup like auto-popup code completion in own plugins? Follow
Answered
How do I show a popup like auto-popup code completion, and dynamic change the items?
LookupManager.getInstance(project).showLookup(editor, ...)
can show the popup, but I can not change the items.
Thanks!
Please sign in to leave a comment.
There's no such possibility in the current API. You can call LookupImpl#getList and manipulate it directly, but we make no guarantees it won't be broken in future releases. Alternatively, you can create your own popup (e.g. by subclassing LightweightHint) and manage it manually.
Thanks!