Eclipse Shortcuts
Eclipse Shortcuts
Eclipse Shortcuts
Ctrl+Shift+T
Ctrl+Shift+R
Find Resource
Ctrl+E
Ctrl+O
Ctrl+Space
Content Assist
Ctrl+Shift+SpaceContext Information
Ctrl+Shift+O
Organize Imports
F3
Open Declaration
Alt+Left
Alt+Right
Ctrl+L
F4
Backward History
Forward History
Go to Line
Open Type Hierarchy
Ctrl+Alt+H
Ctrl+H
Alt+Shift+R
Rename Refactoring
Extract Local
Variable
Extract Method
Alt+Shift+L
Alt+Shift+M
Start typing the name and the list gets smaller. Try typing the capital
letters of the class only (e.g. type "CME" to find
"ConcurrentModificationException")
Use this to look for XML files, text files, or files of any other type.
which are in your workspace.
Presents a popup window listing currently opened files. Start typing to
limit the list or simply use the down arrow key.
Use this to find a method or a member variable in a class. Start typing
to limit the choices. Press Ctrl+O a second time to include inherited
methods.
Context sensitive content completion suggestions while editing Java code.
If typing a method call with several parameters use this to show the
applicable parameter types. The current parameter where the cursor is
will be shown in bold.
After typing a class name use this shortcut to insert an import
statement. This works if multiple class names haven't been imported too.
Drills down to the declaration of the type, method, or variable the
cursor is on. This works much like a browser hyperlink.
This works like a browser's Back button.
This works like a browser's Forward button
Go to a specific line number.
Show the type hierarchy (downward tree) or the supertype hierarchy
(upward tree).
Show where a method is called from. In the Call Hierarchy view keep
expanding the tree to continue tracing the call chain.
Opens a search dialog with extensive search options for Java packages,
types, methods, and fields.
Use this to rename type, method, or field. All existing references will
be refactored as well.
Use this to create a local variable from the selected expression. This is
useful for breaking up larger expressions to avoid long lines.
Use this to extract a new method from existing code. The parameter list
and return type will be automatically created.
Additional Favorites
Alt+Shift+Up
Alt+Shift+Down
Alt+Shift+Left
Alt+Shift+Right
Ctrl+Up
Ctrl+Down
Ctrl+Shift+Up
Ctrl+Shift+Down
Ctrl+Shift+U
Alt+Shift+U
Ctrl+Shift+P
Ctrl+J
Ctrl+Shift+J
Shift+Enter
Ctrl+Shift+Enter
Ctrl+/
Ctrl+\
Ctrl+M
Ctrl+F6
Ctrl+F7
Ctrl+F8
Ctrl+Alt+Up
Ctrl+Alt+Down
Incremental Find
Reverse Incremental Find
Insert Line Below
Insert Line Above
Add Block Comment
Remove Block Comment
Maximize Active View or
Editor
Next Editor
Next View
Next Perspective
Duplicate Lines
Copy Lines
Alt+/
Word Completion
Ctrl+I
Correct Indentation
27) Alt + Shift + j to add javadoc at any place in java source file.
28) CTRL+SHIFT+P to find closing brace. Place the cursor at opening brace and use this.
29) Alt+Shift+X, Q to run Ant build file using keyboard shortcuts in Eclipse.
30) Ctrl + Shift +F for Autoformating.