From c82d552fe48dd536a62b61cd53ae9f2464d2b85b Mon Sep 17 00:00:00 2001 From: Mikhail Sokolov Date: Wed, 7 Nov 2018 21:29:56 +0300 Subject: [PATCH] IDEA-201428 Add SE actions shortcuts to keymap settings --- .../searcheverywhere/ActionSearchEverywhereContributor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/ActionSearchEverywhereContributor.java b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/ActionSearchEverywhereContributor.java index c7e463672883..bdda29bc2b83 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/ActionSearchEverywhereContributor.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/ActionSearchEverywhereContributor.java @@ -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;