Shortcut Description
Ctrl + / line comment/uncomment
Ctrl + Shift + / line comment/uncomment (block)
Ctrl + D delete row
Ctrl + 1 quick fix
Ctrl + Shift + F format code
Alt + Up/Down Arrow move the row/selection up/down
Alt + Shift + R rename
Alt + Shift + L extract to local variable
Alt + Shift + M extract to method
F3 open declaration
Ctrl + Shift + T find class
Ctrl + Shift + R find resource
Ctrl + Shift + o organize imports
Ctrl + Shift + E switch to editor
Ctrl + Shift + W close all open editors
Ctrl + Q go to last edited place
F4 type hierarchy
Ctrl + F4 or Ctrl + w close current file
Alt + Shift + j add Javadoc
Ctrl + Shift + P find closing brace
Ctrl + move to one problem (i.e.: error, warning)
Alt + ← and Alt + → back and forth through the files you have visited
Ctrl + Shift + G search workspace for references to the selected method/variable
Ctrl + l go to line
Ctrl + F6 move between open editors
Ctrl + F7 move between views
Ctrl + F8 move between perspectives
Ctrl + F11 run the application
Ctrl + N open a new type wizard
Ctrl + M maximize or umaximize your current tab
Ctrl + I correct indentation
Ctrl + Shift + G bind this to “Generate getters and setters.”