Eclipse IDE shortcuts list  

Posted

Very Frequently used shortcuts

Ctrl S Save file
Ctrl Shift S Save all files
Ctrl F4 Close file
Ctrl Shift F4 Close all files
Ctrl Shift R Open any resource
Ctrl O Go directly to a member (method, variable)
Ctrl L Go to line
Ctrl Q Go to the last edit location
Ctrl T Go to a supertype/subtype
Ctrl + . Go to next problem
Ctrl Shift F for auto-formatting
Ctrl Shift O organize imports
Ctrl S Save file
Ctrl Shift S Save all files
Ctrl F4 Close file
Ctrl Shift F4 Close all files
Ctrl J Incremental find
Ctrl Shift J Incremental find prev
Ctrl K Find next
Ctrl Shift K Find prev
Ctrl Shift G which searches the workspace for references to the selected method or variable
Ctrl Shift H

CTRL Shift L which shows all the short cuts.

CTRL F6 which shows all the methods of the class
CTRL o

Shift Alt Q B Breakpoints
Shift Alt Q H Cheat Sheets
Shift Alt Q C Console
Shift Alt Q D Java Declaration
Shift Alt Q P Java Package Explorer
Shift Alt Q T Java Type Hierarchy
Javadoc Shift Alt Q J
Search Shift Alt Q S
Shift Alt Q O Show View (View: Outline)
Shift Alt Q X Show View (View: Problems)
Shift Alt Q Y Synchronize
Shift Alt Q V Variables

Navigational Shortcuts

F10 Main menu

Shift F10 Context menu

Ctrl F10 View menu
Workspace navigation

F12 Activate editor

Ctrl+Shift+W Switch editor

Ctrl F6 Next editor

Ctrl Shift F6 Prev editor

Ctrl F7 Next workspace

Ctrl Shift F7 Prev workspace

Ctrl F8 Next perspective

Ctrl Shift F8 Prev perspective

Alt Left Back

Alt Right Forward

Files

Alt Shift S Show in…

Ctrl Shift R Jump to file

Ctrl N New file

Ctrl S Save file

Ctrl Shift S Save all files

Ctrl F4 Close file

Ctrl Shift F4 Close all files
Find

Ctrl L Goto line

Ctrl F Find

Ctrl J Incremental find

Ctrl Shift J Incremental find prev

Ctrl K Find next

Ctrl Shift K Find prev

Ctrl H Search workspace

Ctrl (dot) Navigate next

Ctrl (comma) Navigate prev
Java navigation

F3 Goto declaration

Ctrl Shift U Find references in file

Ctrl Shift G Find references in workspace

Ctrl G Find declarations in workspace

Ctrl Shift P Navigate to matching bracket/brace

Ctrl T Popup type hierarchy

Ctrl Shift T Open Type

Ctrl O Outline of current source

Ctrl F3 Outline of current cursor position

Ctrl Shift Arrow Jump beetween methods up or down

F2 Show Javadoc

F4 Show hierarchy

Ctrl Alt H Open call hierarchy

General editing

Alt Arrow Move line(s) up or down

Alt Shift Up Expand selection to enclosing element

Alt Shift Right Expand selection to next element

Alt Shift Left Expand selection to previous element

Alt Shift Down Restore previous selection

Ctrl Alt Arrow Duplicate line(s) up or down

Shift EnterInsert line below

Ctrl Shift EnterInsert line above

Ctrl D Delete line

Ctrl Shift QToggle Quick Diff

Ctrl Shift Y Convert to lowercase

Ctrl Shift X Convert to uppercase



Java editing

Alt Shift U Remove occurrence annotations

Ctrl 1 Quick fix (works even when there are no errors

Ctrl Shift M Add import

Ctrl Shift F Reformat

Ctrl Shift O Organize Imports

Ctrl / Comment

Ctrl \ UnComment

Ctrl Shift Space Parameter hints

Ctrl Hyperlink identifier

Ctrl I Correct indentation

Shift Space Incremental content assist



Debugger

F5 Step into

F6Step over

F7 Run to return

F8 Resume

F9 Relaunch last