WebStorm Preferences (How to resolve Keymap conflicts reported in WebStorm Preferences?)

Answered

How do I resolve Keymap shortcut conflicts in WebStorm?

For example, I see the built-in macOS Keymap and the following (image #1.)

 

Down at the bottom WebStorm reports a conflict for Find Action.

I click the Find Action link and see the following information (image #2.)

 

WebStorm says the short ⇧⌘A is also used to open a man Page in Terminal.

So, shortcut ⇧⌘A is currently defined for two different actions.

 

I then search for the specific shortcut ⇧⌘A (images 3 and 4.)

 

 

WebStorm lists only a single action for the ⇧⌘A shortcut (image 5.) 

 

Where is the other shortcut for opening a man page in Terminal?

Why don't I see an action for the "Search man page index in Terminal"?

 

Terminal shows the following menu item for the ⇧⌘A  shortcut. Note the menu item is unrelated to locating a man page (image 6 yellow highlight.)

 

 

iTerm shows the following menu item for the ⇧⌘A  shortcut. Note the menu item is unrelated to locating a man page (image 7 yellow highlight.)

 

I am using:

  1. WebStorm 2022.3.2
  2. macOS 12.6.2

 

QUESTIONS:

  1. Why does WebStorm report a conflict for shortcut ⇧⌘A?
  2. Why can I not locate the two actions that use the same shortcut ⇧⌘A?
  3. Where do I find the Search man page index in Terminal that WebStorm reports as a conflict?
  4. How do I resolve the shortcut conflict?

 

0
1 comment

Hi Jeremy,

Please see answers to your questions below.

1. WebStorm reports a conflict because another system action is using the same shortcut.

2. You cannot use the same shortcut for system-wide and IDE-specific action because it won't be possible both for the system and IDE to decide what action exactly you would expect to be triggered on the shortcut press. For example, system mapping for ⇧⌘A has priority over the action in IDE and to get Find Action working one should either disable the system shortcut or assign another shortcut to Find Action in the IDE.

3. As stated on the screenshot 2, ⇧⌘A  is assigned to Mac OS native shortcut, you can find it in Mac OS shortcuts (OS Preferences | Keyboard | Shortcuts | Services).

There's a request in our tracker to make resolving system shortcut conflicts more user-friendly, please upvote IDEA-246272

4. As mentioned in pp.2 you can either disable the system shortcut or assign another shortcut to the IDE action, choosing some other keymap might also be an option here. Please refer to this article for more details about shortcuts configuration.  

0

Please sign in to leave a comment.