Eclipse: shortcuts (this will be an updated list)

  • Ctrl + Shift + L: lists all shortcuts. Cool.
  • Ctrl + 1: quick fix
  • Ctrl + Space: code assist
  • Ctrl + Shift + F: formats code
  • Ctrl + Shift + O: organizes the imports
  • Ctrl + Shift + M: adds import
  • Ctrl + Shift + Space: parameter hints for method arguments
  • Ctrl + F6: prompts a list of all opened files in the editor
  • Ctrl + F7: prompts a list of views to go to and then keep hitting F7 to choose the view
  • Ctrl + F8: prompts a list of perspective and then keep hitting F8 to choose the perspective
  • F12: always returns to editor
  • Ctrl + /: toggles commenting a single line
  • F3: goes to definition
  • F4: opens type hierarchy
  • Ctrl + O: quick outline
  • Ctrl + T: quick type hierarchy
  • Ctrl + Q: goes to the last edit location
  • Ctrl + Alt + H: opens method call hierarchy
  • Ctrl + M: toggles to maximize a view
  • Ctrl + E: lists all opened files (make sure to use regular expression to choose files from the list)
  • Ctrl + Shift + T: opens type..
  • Ctrl + Shift +W: closes all open editors
  • Ctrl + Shift + F4: closes all open editors