Eclipse useful shortcuts Flashcards
(42 cards)
Search for resources, e.g. files
Ctrl + Shift + R
Search for Types
Ctrl + Shift + T
Allows to select an editor from the currently open editors
Ctrl + E
Shortcut for switching perspectives
Ctrl + F8
Go to previous/ next editor position in history
Alt + ← or Alt + →
Switch to previous/next editor
Ctrl-PageUp/PageDown
Go to the declaration of this variable
F3
Go to the matching bracket
Ctrl + Shift + P
Go to the next problem / error
Ctrl + .
Go to the previous problem / error
Ctrl + ,
Show type hierarchy of a variable
F4
Incremental search, find next
Ctrl + J , Ctrl + K
Search for references in the workspace
Ctrl + Shift + G
Run last launched
Ctrl + F11
Run current selected class as Java Application
Alt + Shift + X - J
Quickfix; result depending on cursor position
Ctrl + 1
Content assist/ code completion
Ctrl + Space
Show the inheritance tree of the current Java class
Ctrl + T
Show all methods of the current class
Ctrl + O , press Ctrl + O again to show the inherited methods.
Focuses on the editor (especially helpful if you work with Fast Views).
F12
Maximize Java editor
Ctrl + M
Format source code
Ctrl + Shift + F
Organize the imports; will import the missing import statements.
Ctrl + Shift + O
Go to position the cursor at the last changed position in the editor.
Ctrl + Q