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
Please sign in to leave a comment.
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.
thank you very much, it helps a lot