Eclipse Shortcuts




Eclipse Shortcuts


Shortcut
Description
File Navigation

CTRL SHIFT R
Open a resource


CTRL E
Open a file (editor) from within the list of all open files


CTRL PAGE UP or PAGE DOWN
Navigate to previous or next file from within the list of all open files


ALT <- or ALT ->
Go to previous or next edit positions from editor history list


Java Editing

CTRL SPACE
Type assist


CTRL SHIFT F
Format code


CTRL O
List all methods of the class


CTRL SHIFT O
Organize imports


CTRL SHIFT U
Find reference in file


CTRL /
Comment a line


F3
Go to the declaration of the variable


F4
Show type hierarchy of on a class


CTRL T
Show inheritance tree of current token


SHIFT F2
Show Javadoc for current element


ALT SHIFT Z
Enclose block in try-catch


General Editing

F12
Focus on current editor


CTRL L
Go to line number


CTRL D
Delete a line


CTRL <- or ->
Move one element left or right


CTRL M
Maximize editor


CTRL SHIFT P
Go to the matching parenthesis


Debug, Run

CTRL . or ,
Navigate to next or previous error


F5
Step into


F6
Step over


F8
Resume


CTRL Q
Inspect


CTRL F11
Run last run program
CTRL 1
Quick fix code


Search

CTRL SHIFT G
Search for current cursor positioned word reference in workspace


CTRL H
Java search in workspace


Comments

Popular posts from this blog