Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ (Webstorm / PyCharm) shortcut for take action now opens weird popup

The default keyboard shortcut for enter action on an IntelliJ IDE on Mac is: cmd + shift + A.

When I enter this shortcut, a weird terminal popup opens up.

Screenshot of weird terminal popup

How can I go back to having this default shortcut working?

like image 703
Agam Rafaeli Avatar asked Dec 31 '22 21:12

Agam Rafaeli


1 Answers

This error is a result of clashing of default keyboard shortcuts for Mac Mojave OS and JetBrains IntelliJ IDEs. On Mojave by default cmd + shift + A searches for the man page of whatever is highlighted. So any time after the first time you open the "enter action" popup on an IntelliJ IDE, you will have the previous action highlighted, and thus searched for by the default Mac Mojave shortcut.

Valid solutions:

  1. On Mac go to System Preferences -> Keyboard -> Shortcuts -> Services -> Search man Page Index in Terminal. Either remove the shortcut, or set it to some other key combination.
  2. Choose a different keyboard shortcut on IntelliJ IDE

It is also documented in the official YouTrack of JetBrains: https://youtrack.jetbrains.com/issue/IDEA-209726

like image 143
Agam Rafaeli Avatar answered Jan 04 '23 04:01

Agam Rafaeli