User Tools

Site Tools


Eclipse cheat sheet

Important key combinations

  • Ctrl+Space: content assist
  • Ctrl+Shift+L: shows a list of key bindings!
  • Ctrl+T: Show type hierarchy
  • Ctrl+Shift+T: Open Type
  • Ctrl+Shift+H: Call hierarchy
  • F3: Open class/method/definition
  • Alt+Shift+{←↑→↓}: Java block-wise selections
  • Ctrl+F3: Show structure (mostly equivalent to outline)


  • sysout, main, for, …
  • Format code: Ctrl+Shift+F (I prefer looking at formatted code!)
  • Ctrl+1: content-aware assist (split declaration,
  • Ctrl+Alt+Z: surround selection with…


  • Getters and setters: Alt+Shift+S R
  • Extract local variable from selection: Alt+Shift+L
  • Extract method from selection: Alt+Shift+M
  • Generate constructors: Alt+Shift+S O (fields) or Alt+Shift+S C


  • Rename: Alt+Shift+R
  • Refactoring menu: Alt+Shift+T
info/eclipse_cheat_sheet.txt · Last modified: 2015/02/19 07:46 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki