Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA - Key board right click doesn't work

I am using IntelliJ IDEA Ultimate v 13.1, and I am fond of using key board short cuts, rarely use mouse. I am relatively new to this IDE as earlier I always worked on eclipse.

My question is about performing right click operations by pressing the right click key on key board (usually found near the right side Ctrl key on external key boards). The problem is when I press this key, nothing happens but when I click the mouse right click and things just happen. This is applicable on editor, project explorer and I guess everywhere in the IDE.

Is there a switch I should turn on and it will work or any other way to get key board right click work in IDEA? Thanks very much for your responses.

like image 346
Ketan Avatar asked Aug 14 '15 00:08

Ketan


People also ask

How do I enable shortcut keys in IntelliJ?

Add a mouse shortcutOn the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S , right-click an action and select Add Mouse Shortcut. In the Mouse Shortcut dialog, move the mouse pointer to the central area and click or scroll as necessary. Click OK to save the shortcut.

What is Ctrl Shift O in IntelliJ?

In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.

What does Ctrl Shift F do in IntelliJ?

ctrl+shift+f searching in some last used directory instead of entire project Follow. Hello, In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").


2 Answers

I know it is an old question, but it popped up as 1st result when I searched for my issue, and I figured it out with some of the context in Ketan@'s answer.

Fix:

  • Go to File -> Settings -> Keymap
  • Search for "Show Context Menu"
  • Add a new keyboard shortcut. When prompted, press the "right click" (aka "context menu") key.
like image 122
Mike DaCosta Avatar answered Sep 27 '22 18:09

Mike DaCosta


For me, It simply works after just restart the IntelliJ IDE

like image 28
ahmednabil88 Avatar answered Sep 27 '22 18:09

ahmednabil88