Eclipse: shortcut key combos

Shortcut on Windows/Linux Shortcut on Mac OS Function
Ctrl+1 Command+1 Activates quick fix. If you have methods need to implement, you can then "Add unimplemented methods"
Ctrl+D Command+D Delete the current row
Shift+Alt+R Command+Option+R Highlight the class/method/variable name first then press the shortcut keys to refactor/rename class/method/variable.
Ctrl+Shift+O Command+Shift+o Organize imports
Ctrl+Shift+F Command+Shift+F Format source code
Ctrl+Shift+L Command+Shift+L List available shortcut key combos.
Ctrl+L Command+L Go to line.


No comments:

Post a Comment