Sie sind auf Seite 1von 1

Eclipse Shortcuts

Navigation Working with Editor


Ctrl + Shift + R Open / Search for resources, e.g. files Ctrl + 1 Quickfix; result depending on cursor position
Ctrl + Shift + T Open / Search for Types Ctrl + I Correct Indentation
Allows to select an editor from the currently
Ctrl + E Ctrl + Space Content assist/ code completion
open editors
Ctrl + F8 Shortcut for switching perspectives Ctrl + L Go to line no
Ctrl + F7 Move between views Ctrl + T Show the inheritance tree of the current Java class
Alt + Let / Right Go to previous/ next editor position in history F12 Focuses on the editor.
Alt + Up / Down Move line up / down Ctrl + M Maximize Java editor
F3 Go to the declaration of this variable Ctrl + Shift + F Format source code
Organize the imports; will import the missing import
Ctrl + Shift + P Go to the matching bracket Ctrl + Shift + O
statements.
Ctrl + Left / Right Move one element to the left / right Ctrl + Q Go to position the cursor at the last changed.
Wrap the select block of code into a block, e.g.
Ctrl + Up / Down Scroll up / down a line in the editor Ctrl + Alt + Z
try/catch.
Alt + Shift Up / Down Select the previous / next syntactical element Ctrl + 2, L Assign statement to new local variable
Alt + Shift Up / Down / Left / Extending / Reducing the selection of the
Ctrl + 2, F Assign statement to new field
Right previous / next syntactical element
Show the Javadoc for the selected type / class /
Ctrl + . Go to the next problem / error Shift + F2
method
Ctrl + , Go to the previous problem / error Ctrl + Alt + Up/Down Copy line
Ctrl + H Java search in workspace Alt + Shift + Z Surround block with try and catch
F4 on a variable Show type hierarchy of an Class Alt + Shift + R Rename
Ctrl + J , Ctrl + K Incremental search, find next Ctrl+2, R Rename locally (in file), faster then Alt + Shift + R
Ctrl + Shift + G Search for references in the workspace Alt + Shift + T Opens the quick refactoring menu
Run and Debug Ctrl + S Saves current editor
F5 Step into. Ctrl+ D Deletes current line in the editor
F6 Step over. Ctrl + Shift + O Adjusts the imports statements.
F7 Go to the caller of the method/ function. Ctrl + 2, L or F Assign statement to new local variable or field
F8 Go to the next breakpoint. Ctrl + Shift + T Open Type Dialog
Ctrl + Q Inspect Ctrl + O Shows quick outline of a class
Ctrl + F11 Run last launched Ctrl+3 Master Shortcut
Run current selected class as Java
Alt + Shift + X - J
application Ctrl + Alt + L List out all Shortcuts
Ctrl + F11 Run last launched application

Das könnte Ihnen auch gefallen