Sunday, August 28, 2011

Quick Shortcuts for My Eclipse


  • control-F4 - close current editor window
  • control-shift-F4 - close all editor windows
  • control-F6 - switch between editor windows
  • control-F7 - switch between views
  • control-F8 - switch between perspectives
  • control-space - code completion
  • control-1 - quick fix
  • F3 - (or control-click) - jumps to the class/method at your cursor
  • F4 - shows class hierarchy
  • F11 - launch the last debug configuration (in debug mode)
  • Alt-r, followed by t - stop the debug configuration
  • F12 - give focus to the editor window
  • Highlight text and control-/ - comment/uncomment code
  • control-j - incremental find
  • control-m - expand/contract current editor window
  • control-shift-f - format code
  • control-shift-g - searches for references to selected class/method/etc
  • control-shift-o - organize imports (automatically fix your class imports)
  • control-shift-r - open resource - great search utility
  • control-shift-t - open type (Java class/interface finder)
  • Standard Windows shortcuts also apply (home, end, control-home, control-end, control-leftArrow, control-rightArrow, all these in combination with shift, etc)

No comments:

Post a Comment