KeyStroke (@NotNull String actionCodeCompletion) { final Shortcut[] shortcuts = KeymapUtil.getActiveKeymapShortcuts(actionCodeCompletion).getShortcuts(); for (final Shortcut shortcut : shortcuts) { if (shortcut instanceof KeyboardShortcut) { return ((KeyboardShortcut)shortcut).getFirstKeyStroke(); } } return null; }