Assign Shortcut to SearchEverywhereContributor Follow
Answered
I wrote a plugin which adds a SearchEverywhereContributor, which works fine so far.
Now I want to add a keyboard shortcut to open the corresponding tab in the SearchEverywherePopup.
So far I found out, that the shortcuts are registered in the class SearchEverywhereManagerImpl::createShortcutsMap.
But how can I extend this class or is there any other way to assign a shortcut to my SearchEverywhereContributor?
Please sign in to leave a comment.
This seems not possible indeed. Why do you need a separate tab?
We usually don't recommend to add custom tabs as noted in com.intellij.ide.actions.searcheverywhere.SearchEverywhereContributor#isShownInSeparateTab
Hi Yann,
Thanks for your answer.
It's a search for a snippet database, which can have a lot of results.
Maybe I will stick to a custom popup then.
Thanks,
René