August 4, 2021
Estimated Post Reading Time ~

Eclipse Cheat Sheet

 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
Text Editing II
⌃.
Word completion
⌘/
Toggle comment
⇧⌘O
Organize imports
⌘LEFT
Line start
⌘RIGHT
Line end
⌥UP
Move lines up
⌥DOWN
Move lines down
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
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
Java Source Navigation
⌘L
Go to line
⌘O
Quick outline
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
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
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
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
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
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
Misc II
⇧⌥G
Generate code
⌘V
Paste
⇧⌘>
Previous window
⇧⌥⌘M
Open manifest
⌥⌃H
Open call hierarchy
⌃Q
Last edit location
⌘]
Forward history
⇧⌘I
Inspect
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


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.