Why can't I set shortcuts for some actions?

In the Keymap settings section, I can assign keyboard shortcuts for some actions, but not for others. Is there a reason for this, and how can I work around this?

An example is the 'Open Recent' menu item, which I can't seem to add/edit a keyboard shortcut for.



Attachment(s):
Screenshot 2014-10-27 11.32.31.png
4 comments
Comment actions Permalink

Hi there,

1) What IDE and version is that? I cannot find such action in mine PhpStorm v8.0.2.
2) What that action does (if you use from menu or whatever the place is)? Or in other words -- what action/task do you want to accomplish? Maybe there is another one that does the same/slightly differently.

In any case: inability to assign shortcut extremely likely means that this is not a real action but a pre-defined group of actions  / submenu.

0
Comment actions Permalink

Hi Andriy,

The IDE is WebStorm 9, and the action is to open a recent project. It seems that anything that has the folder icon cannot have a shortcut assigned to it.

0
Comment actions Permalink

Yes -- that one is a submenu.

Try this one instead:

  • On Keymap screen -- search for "recent"
  • Look for entries under "Other" branch -- e.g. "Reopen Recent Project" ( I hope it does exist on Mac / WebStorm)
  • Assign a shortcut to it


P.S.
Before actually doing that -- try searching for actions via "Help | Find Action" (Ctrl+Shift+A on Windows) -- see what actions are available for "recent" and try them from there.

0
Comment actions Permalink

Perfect! Thank you!

0

Please sign in to leave a comment.