› Eclipse

Eclipse Shortcuts

Eclipse IDE keyboard shortcuts for editing, navigation, refactoring, running and debugging Java projects.

Source: Official documentation · Dataset date 2026-06

30
Shortcuts
4
Categories

Cheat sheet guide

Eclipse shortcuts worth learning first

This page collects 30 searchable Eclipse keyboard shortcuts across 4 categories. Start with the shortcuts for Editing, Navigation, Refactor & Search, Run & Debug, then print the cheat sheet once the important ones are worth keeping nearby.

  • Content assist (autocomplete)CtrlSpace
  • Open typeCtrlShiftT
  • RenameAltShiftR
  • RunCtrlF11
  • Quick fixCtrl1
  • Comment / uncomment lineCtrl/

Editing

9 shortcuts
Content assist (autocomplete)
CtrlSpace
Ctrl+Space
Quick fix
Ctrl1
Ctrl+1 · Cmd+1
Comment / uncomment line
Ctrl/
Ctrl+/ · Cmd+/
Format code
CtrlShiftF
Ctrl+Shift+F · Cmd+Shift+F
Organize imports
CtrlShiftO
Ctrl+Shift+O · Cmd+Shift+O
Duplicate line
CtrlAltDown
Ctrl+Alt+Down · Cmd+Opt+Down
Move line up
AltUp
Alt+Up · Opt+Up
Move line down
AltDown
Alt+Down · Opt+Down
Delete line
CtrlD
Ctrl+D · Cmd+D

Navigation

8 shortcuts
Open type
CtrlShiftT
Ctrl+Shift+T · Cmd+Shift+T
Open resource
CtrlShiftR
Ctrl+Shift+R · Cmd+Shift+R
Open declaration
F3
F3
Open call hierarchy
CtrlAltH
Ctrl+Alt+H · Cmd+Opt+H
Quick outline
CtrlO
Ctrl+O · Cmd+O
Go to line
CtrlL
Ctrl+L · Cmd+L
Last edit location
CtrlQ
Ctrl+Q · Cmd+Q
Next problem
Ctrl.
Ctrl+. · Cmd+.

Refactor & Search

6 shortcuts
Rename
AltShiftR
Alt+Shift+R · Opt+Shift+R
Extract method
AltShiftM
Alt+Shift+M · Opt+Shift+M
Extract local variable
AltShiftL
Alt+Shift+L · Opt+Shift+L
Find
CtrlF
Ctrl+F · Cmd+F
Search references in workspace
CtrlShiftG
Ctrl+Shift+G · Cmd+Shift+G
Open search dialog
CtrlH
Ctrl+H

Run & Debug

7 shortcuts
Run
CtrlF11
Ctrl+F11 · Cmd+F11
Debug
F11
F11
Toggle breakpoint
CtrlShiftB
Ctrl+Shift+B · Cmd+Shift+B
Step over
F6
F6
Step into
F5
F5
Step return
F7
F7
Resume
F8
F8

Frequently asked questions

What is the fastest way to find Eclipse shortcuts on this page?

Use the search box or press /, then type an action such as content assist (autocomplete).

Can I print this Eclipse shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Which operating systems are included for Eclipse?

This reference includes shortcuts for Windows · macOS · Linux. Availability depends on the action and app version.

See also

Explore shortcuts by key

Key lookup

No shortcuts match your search.