I want to use a shortcut to autocomplete System.out.print in Java, I read that I should use Ctrl Space, but I have a mac and when I do Ctrl Space it shows Spotlight Search, do you know if there is another way for mac users?
The shortcut in Eclipse is: (Write) sysout and press Ctrl Space
CodePudding user response:
Unless you've done something strange, Spotlight Search defaults to Cmd Space across the entire system and is why Content Assist in Eclipse defaults to Ctrl Space, just like on other OSes. You can reconcile the key mappings from the system Settings' Keyboard>Shortcuts panel, by choosing Spotlight there, and Eclipse's Keys preference page, by searching by name for "Content Assist".