Shortcuts
Links
http://www.benpryor.com/blog/index.php?/archives/4-Top-10-Tips-For-New-Eclipse-Users.html
Class
Ctrl, Shift, G |
searches for references to a highlighted class, method, field, or variable |
Ctrl, Shift, O |
remove un-used imports. |
Ctrl, o |
outline popup - very useful for quickly jumping to a method in a large class Press Ctrl, o again to search/jump to all methods in the current class plus super classes. |
F4 |
shows the hierarchy viewer for a class |
Ctrl, T |
shows hierarchy viewer for a class in a popup Let’s say there is an interface Employee and its implementation
EmployeeImpl. If you Ctrl, click on Press Ctrl, T again to toggle between supertypes and subtypes. |
Editor
Alt, Shift, J |
generate JavaDoc for the method. |
Ctrl, . |
go directly to the next warning or error in your current source file. |
Ctrl, , |
go directly to the previous warning or error in your current source file. |
Ctrl, H |
search and replace |
Ctrl, L |
go to line number. |
Ctrl, Q |
go to last edit location. |
Ctrl, Alt, J |
allows you to join lines together (Since 3.3M6). |
Ctrl, Shift, Up or Down |
Bounces you up and down through the methods in the source code. |
Ctrl, NumPad / |
Fold/Unfold |
Shift, Hover |
Shows the source code of the class or method. |
Error List
Ctrl, + |
Next error. |
Ctrl, - |
Previous error. |
Help
Ctrl, Shift, L |
List keyboard shortcuts. |
Open
Ctrl, 3 |
Quick Access to UI elements such as views, commands, preference pages… (not F3). |
Ctrl, Shift, T |
Open a type (class). |
Ctrl, Shift, R |
Open a Resource (or any file I think). |
Run
Ctrl, F11 |
run the last launched configuration |
Shift, Alt, X |
Execute |
Shift, Alt, D |
Debug |
Shift, Alt, X, T |
Run unit tests for current class. |
Tasks (Mylyn)
Ctrl, F9 |
Open the Activate Task dialog box. |
Utility
Ctrl, Shift, L |
show you all available keyboard shortcuts in the current context |
Window
Ctrl, e |
List all open editor windows. |
Ctrl, F6 |
Cycle between open editor windows. Ctrl, F6 and letting go will take you to the last file you visited. |
Ctrl, F7 |
Cycle between open views. |
Ctrl, F8 |
Cycle between open perspectives. |
Ctrl, Shift, F4 |
closes all open editor windows |
Ctrl, m |
toggle maximize of the current editor or view |