mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-201428 Add SE actions shortcuts to keymap settings
This commit is contained in:
+2
-2
@@ -130,7 +130,7 @@ public class ActionSearchEverywhereContributor implements SearchEverywhereContri
|
||||
@Override
|
||||
public boolean processSelectedItem(@NotNull Object selected, int modifiers, @NotNull String text) {
|
||||
if (modifiers == InputEvent.ALT_MASK) {
|
||||
doAssignShortcut((GotoActionModel.MatchedValue) selected);
|
||||
showAssignShortcutDialog((GotoActionModel.MatchedValue) selected);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ public class ActionSearchEverywhereContributor implements SearchEverywhereContri
|
||||
return value instanceof AnAction ? (AnAction) value : null;
|
||||
}
|
||||
|
||||
private void doAssignShortcut(@NotNull GotoActionModel.MatchedValue value) {
|
||||
private void showAssignShortcutDialog(@NotNull GotoActionModel.MatchedValue value) {
|
||||
AnAction action = getAction(value);
|
||||
if (action == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user