I try to make the settings of a plugin searchable. I tried implementing/subclassing SearchableConfigurable, SearchableConfigurable.Parent, SearchableConfigurable.Parent.Abstract, but without any success.
The setting is as follows. In the tree of the Settings window there is a node called "Osmorc" and a subnode of it is called "Project Settings". On the "Project Settings" page there is a label "Framework Instance".
When I type in "Framework" into the search box at the top of the tree, I want this label to be highlighted.
When I start typing while on the "Project Settings" page I shortly see how the label is highlighted, but then the whole tree of the plugin vanishes and so does the page. So the important thing seems to be to make sure that the tree contains the node since as soon as the page is shown the highlighting is done automatically by IDEA.
So how do I make the "Project Settings" node appear for a search for "Framework"?
How does one use all the interfaces and classes in that area? What is "Runnable enableSearch(String option)" used for?
Thanks in advance,