40

There is very important shortcut for "Basic Code Completion" in IntelliJ IDE which assumed to be invoked as control+space shortcut on Mac. The problem is this shortcut is system one and used to invoke "Spotlight" in Mac OS X Lion.

How you guys invoke it then?

7 Answers 7

28

I think that the question is mostly asking to what key combination do you change it, and why JetBrains haven’t implemented the update to the Mac keymap by themselves.

Anyways, I’ve swapped the Ctrl+Space with Option+Space which doesn’t seem to collide with any Mac OS X system key shortcut.

1
  • 1
    Do you mean option+space?
    – Ben Carp
    May 9, 2021 at 13:35
27

You either disable/change Spotlight shortcut in the system settings or you change the Basic completion shortcut in IDEA Preferences | Keymap.

9

You can override the OSX spotlight shortcut in IntelliJ IDEA/Services/Services Preferences. More info: here.

enter image description here

5

I dont know if this helps but here is a list of the default key mappings http://www.jetbrains.com/idea/docs/IntelliJIDEA_ReferenceCard_Mac.pdf and you can change them from the menu IDE Settings -> Keymap

5

Alternatively, you can use Ctrl + Shift + Space for "SmartType" to avoid collision with Spotlight.

3

Actually, spotlight is started by COMMAND-space and not by CTRL-space ...

2
2

The shortcut for code compeletion for intelliJ IDEA in MacOS is

Ctrl+Option+Space ,

It Works for me, Try this, it may work

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.