Insert code template in eclipse on mac os x (ctrl-space not working)

Viewed 22754

How can insert code template in eclipse on mac os x?

ctrl-space is not working :(

5 Answers

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

http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT2531/HT2531---fr.png

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

On Eclipse Oxygen, on MacOS Sierra the shortcut is ctrl-.

Related