Create
Learn
Share

Eclipse

rename
Updated 2007-04-20 07:45

Summary

This page is intended to help you memorize keyboard shortcuts for Eclipse, the popular Java-based IDE / Platform.

Searching/Navigating

Simple and very useful searching and navigationg shortcuts.

 

DescriptionKey
Incremental FindCtrl-J (then type search string)
Find Next (first select some text)Ctrl-K
Jump to last editCtrl-Q
Quick OutlineCtrl-O
Open Type (jump to class)Ctrl-Shift-T
Open Resource (jump to any file)Ctrl-Shift-R
memorize

Editing

Most common editing shortcuts.

 

DescriptionKey
Auto-completion (code-based)Ctrl-space
Word-completion (text-based)Alt-/
Comment line (or lines)Ctrl-/
Format codeCtrl-Shift-F
Delete current lineCtrl-D
Duplicate linesCtrl-Alt-Down
memorize

Navigating

DescriptionKey
Show next errorCtrl-. (period)
Jump to opened file (by name)Ctrl-E (or try Ctrl-Shift-E)
Jump to opened file (by position)Ctrl-F6
Next method (or member)Ctrl-Shift-Down
Show file in...Alt-Shift-W
Incremental Find (backward)Ctrl-Shift-J
memorize

Editing II

DescriptionKey
Activate editorF12
Moving a line or block down (or up)Alt-down (or Alt-up)
Organize ImportsCtrl-Shift-O
Move Lines DownAlt-Down
Move a line up or downAlt-up, Alt-down
Quick FixCtrl-1
memorize

Navigating II

DescriptionKey
Find referencesCtrl-Shift-G
Go to matching bracketCtrl-Shift-P
Open external javadocShift-F2
Open call hierarchy for methodCtrl-Alt-H
Go to previous errorCtrl-, (comma)
Move to next editor errorCtrl-+
memorize

Editing III

DescriptionKey
Insert new line below current lineShift-Enter
Converting to lowercase or uppercaseCtrl-Shift-Y and Ctrl-Shift-X
Show a viewAlt-Shift-Q (dialog will pop up)
Quick quotesCtrl-Shift-Q
Scroll down (or up) one lineCtrl-Down (or Ctrl-Up)
Insert javadoc commentCtrl-Shift-J
memorize

Recent badges