use shortcut of SHOW_INTENTION_ACTIONS

IDEA-CR-4955
This commit is contained in:
Sergey Ignatov
2015-09-23 16:06:32 +03:00
parent b56a82422f
commit 1603e2802f
@@ -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;
}