Insert code template in eclipse on mac os x (ctrl-space not working)
How can in开发者_JAVA百科sert code template in eclipse on mac os x?
ctrl-space is not working :(
The Ctrl + space or ⌘ + space can be intercepted by Spotlight (depending on its configuration)
Go into:
System Preferences -> Spotlight
At the bottom, change the Spotlight menu shortcut (Ctrl+Espace) in any other shortcut like:
(cmd) ⌘ + Ctrl + espace
I know this is an old post, but I didn't find much else when searching for this problem.
In my case (Yosemite - 10.10.5), I found that
System Preferences -> Keyboard -> Shortcuts -> Input Sources
was set to capture Ctrl + space.
Did you try cmd+space
and option+space
? Also you should be able to change this key sequence by going to Eclipse > Preferences > General > Keys
If you have emacs-bindings set up in eclipse, then the key is "option-/", not ctrl-space.
On Eclipse Oxygen, on MacOS Sierra the shortcut is ctrl-.
精彩评论