Monday, December 18, 2006

Eclipse Short Cut Keys

Help
  • Clt-Sh-L - Key Assist
Eclipse IDE Navigation
  • Alt-right-/Alt-left - last history location
  • Alt-Sh-Q Java Menu
  • P Package Explorer
  • Alt-Sh-X Run Menu
  • T Run As Unit Test
  • F12 - Active Editor
  • Ctl-F6 List of editors
  • Sh-Ctl-F6 Go backwards in the list
  • Ctl-E List of open editors, then regex search
  • Alt-F # Will bring up the File Menu and then choose the file by number.
Java Perspective Navigation
  • F3 Open Declaration
  • F4 Type Hierarchy
  • Clt-F3 Open Structure of active File
Searching/Replacing
  • Clt-h Open Search Dialog
Editor Movement/Navigation
  • Ctl-Home - Top of document
  • Ctl-End - Bottom of document
  • Ctl-right/left - Go to next word
  • Sh-Ctl-down/up - Go to next method
  • Clt-q last edit location
  • Alt-up/down Move line up/down
  • Clt-L - Go to line
  • Alt-left/right navigate in the editor history
Deleting/Cutting/Copying
  • Clt-D Delete line
  • Sh-Ctl up/down copy line up/down
Selecting
  • Ctl-a - select all
  • Sh-left/right - Select with movement
  • Sh-Ctl-left/right - Select Word
  • Sh-End - End of Line
  • Sh-Home - Beginning of Line
  • Alt-Sh-Up/Down/left/right - select/de-select Enclosing element
JavaDoc
  • F2 - show tool tips in line
  • Sh-F2 - Show in Browser, must have javadoc path set in project, else nothing will happen
  • Alt-Sh-Q J Show JavaDoc View

No comments: