make popupList searchable

Answered
BaseListPopupStep<String> baseListPopupStep = new BaseListPopupStep<>("tags", tags);
ListPopup listPopup = JBPopupFactory.getInstance().createListPopup(baseListPopupStep);

 how to make it support search like this

0
2 comments

Hi,

Please take a look at: com.intellij.execution.impl.NewRunConfigurationPopup, especially methods related to speed search.

Also, I suggest using https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html#using-the-ui-inspector when you want to implement a control similar to an existing one. It will help identify the implementing class.

0

thank you very much, it helps a lot

0

Please sign in to leave a comment.