Basic code completion in IntelliJ on Mac

主宰稳场 提交于 2019-12-03 09:38:29

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

I think that the question is motley 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 Alt+Space which doesn’t seem to collide with any MacOSX system key shortcut.

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

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

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!