From 1603e2802fef9d8ef6ac4fb3852d919f4da62751 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Wed, 23 Sep 2015 16:05:24 +0300 Subject: [PATCH] use shortcut of SHOW_INTENTION_ACTIONS IDEA-CR-4955 --- .../src/com/intellij/ide/actions/GotoActionAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/ide/actions/GotoActionAction.java b/platform/lang-impl/src/com/intellij/ide/actions/GotoActionAction.java index a579afccda74..9e2e9d857d04 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/GotoActionAction.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/GotoActionAction.java @@ -164,6 +164,8 @@ public class GotoActionAction extends GotoActionBase implements DumbAware { } }); + CustomShortcutSet shortcutSet = new CustomShortcutSet(KeymapManager.getInstance().getActiveKeymap().getShortcuts(IdeActions.ACTION_SHOW_INTENTION_ACTIONS)); + new DumbAwareAction() { @Override public void actionPerformed(AnActionEvent e) { @@ -185,7 +187,7 @@ public class GotoActionAction extends GotoActionBase implements DumbAware { } } } - }.registerCustomShortcutSet(CustomShortcutSet.fromString("alt ENTER"), popup.getTextField()); + }.registerCustomShortcutSet(shortcutSet, popup.getTextField()); return popup; }