IDEA-189622 Some keystrokes cause 'Typeahead timeout exceeded" exception

This commit is contained in:
Denis Fokin
2019-03-04 12:37:18 +03:00
parent 488ce5c32d
commit b0607afdda
@@ -1290,6 +1290,7 @@ public class IdeEventQueue extends EventQueue {
if (keymap != null) {
if (!keymap.equals(lastActiveKeymap.get())) {
String actionsAwareTypeaheadActionsList = Registry.get("action.aware.typeahead.actions.list").asString();
shortcutsShowingPopups.clear();
actionsShowingPopupsList.addAll(StringUtil.split(actionsAwareTypeaheadActionsList, ","));
actionsShowingPopupsList.forEach(actionId -> {
List<Shortcut> shortcuts = Arrays.asList(keymap.getShortcuts(actionId));