Skip to content

Instantly share code, notes, and snippets.

@Nan-Zhang
Last active January 4, 2016 15:29
Show Gist options
  • Save Nan-Zhang/8641171 to your computer and use it in GitHub Desktop.
Save Nan-Zhang/8641171 to your computer and use it in GitHub Desktop.
How to use editor templates for MacEclipse.
Eclipse-Preferences-Java-Editor-Templates.
1. the shortcut of editor templates is ctrl + space, however, this shortcut had conflict with system spotLight's shortcut.
2. System->spotlight, then turn off the shortcut
eg,"sysout"coud genereate “System.out.println()","foreach" could generate for Loop framwork.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment