dojo
Eclipse Cheatsheet
ShortcutFoo uses a Spaced Repetition System that adapts to your training.
scf keyboard

Text Editing I

⇧↵
Insert line below current line
⌘⇧↵
Insert line above current line
⌘⇧DEL
Delete to end of line
⌘⇧X
To upper case
⌘⇧Y
To lower case
⌘D
Delete line
⌘⌥UP
Copy line above current line
⌘⌥DOWN
Copy line below current line
⌥DEL
Delete next word
⌥BACKSPACE
Delete previous word
scf keyboard

Text Editing II

^.
Word completion
⌘/
Toggle comment
⌘⇧O
Organize imports
⌘LEFT
Line start
⌘RIGHT
Line end
⌥UP
Move lines up
⌥DOWN
Move lines down
scf keyboard

Text Selection

^⇧LEFT
Select previous element
^⇧RIGHT
Select next element
⌘⌥A
Toggle block selection
⌥⇧LEFT
Select previous word
⌥⇧RIGHT
Select next word
⌘⇧LEFT
Select line start
⌘⇧RIGHT
Select line end
scf keyboard

Java Source Editing

⌘^\
Remove block comment
⌘⇧F
Format
⌘⇧M
Add import
⌘^/
Add block comment
⌘2F
Quick assist - assign to field
⌘2L
Quick assist - assign to local variable
⌘2R
Quick assist - rename in file
⌘⌥O
Toggle mark occurrences
⌘⌥U
Remove occurrence annotations
⌘⌥J
Add javadoc comment
⌘⌥Z
Surround with quick menu
scf keyboard

Java Source Navigation

⌘L
Go to line
⌘O
Quick outline
scf keyboard

Java Refactoring

⌘⌥V
Move refactor
⌘⌥I
Inline
⌘⌥M
Extract method
⌘⌥C
Change method signature
⌘⌥L
Extract local variable
⌘⌥R
Rename refactor
⌘⌥T
Show refactor quick menu
scf keyboard

Debug

⌘R
Run to line
⌥⇧DR
Debug on server
⌘^⌥DA
Debug java applet
⌘^⌥DE
Debug eclipse application
⌘^⌥DJ
Debug java application
⌘^⌥DO
Debug OSGi framework
⌘^⌥DP
Debug JUnit plug-in test
⌘^⌥DQ
Debug ant build
⌘^⌥DT
Debug JUnit test
scf keyboard

Search

⌘⇧K
Find previous
⌘F
Find and replace
⌘⇧G
Search references in workspace
⌘⇧U
Show occurrences in file quick menu
^H
Open search dialog
⌘⌥G
Find text in work space
scf keyboard

Run

⌥⇧XR
Run on server
⌘⌥XA
Run java applet
⌘⌥XE
Run eclipse application
⌘⌥XJ
Run java application
⌘⌥XO
Run OSGi framework
⌘⌥XP
Run JUnit plug-in test
⌘⌥XQ
Run ant build
⌘⌥XT
Run JUnit test
scf keyboard

Tasks View

⌥UP
Go to previous unread task
⌥DOWN
Go to next unread task
⌥⇧C
Mark task complete
⌥⇧I
Mark task incomplete
⌥⇧R
Mark task read
⌥⇧U
Mark task unread
⌥⇧UP
Mark task read and move to prev
⌥⇧DOWN
Mark task read and move to next
⌥⇧N
New subask
⌘↵
Open selected task
scf keyboard

Misc I

⌘⇧R
Open resource
⌘[
Backward history
⌘⌥W
Show in...
⌘.
Next window
⌘⇧D
Display
⌘1
Quick fix
^⇧Q
Quick diff toggle
^⇧SPACE
Context information
^SPACE
Content assist
scf keyboard

Misc II

⌥⇧G
Generate code
⌘V
Paste
⌘⇧>
Previous window
⌘⌥⇧M
Open manifest
^⌥H
Open call hierarchy
^Q
Last edit location
⌘]
Forward history
⌘⇧I
Inspect
scf keyboard

Misc III

^D
EOF
⌘⌥F
Force return
⌘G
Declaration in workspace
⌘⌥S
Show source quick menu
⌘⇧M
Maximize part of task
⌥⇧S
Submit task
⌥N
New local task
⌘=
Zoom in
achievement-star