ShortcutSet (@Nullable @NonNls String actionId) { KeymapManager keymapManager = KeymapManager.getInstance(); if (keymapManager == null || actionId == null) { return new CustomShortcutSet(Shortcut.EMPTY_ARRAY); } return new CustomShortcutSet(keymapManager.getActiveKeymap().getShortcuts(actionId)); }