QuickSwitchSchemeAction popup actions do not override Main Menu shortcuts
I registered an action on ALT + W to a QuickSwitchSchemeAction's popup (WizardPopup#registerAction), but when I press the shortcut, both Main Menu and the popup reacts.
What to do?
请先登录再写评论。
So WizardPopup is broken. Some other use case needed to process the keystroke also on another place, so it got screwed like that.
https://github.com/JetBrains/intellij-community/blob/master/platform/platform-impl/src/com/intellij/ui/popup/WizardPopup.java#L342-342
This is how it should have looked like 2 years ago imho
https://github.com/krasa/intellij-community/compare/JetBrains:master...krasa:wizardpopupfix?expand=1