Eclipse

Eclipse Shortcuts

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

Source: Official documentation · Updated 2026-06

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
Quick fix
Ctrl1
Comment / uncomment line
Ctrl/
Format code
CtrlShiftF
Organize imports
CtrlShiftO
Duplicate line
CtrlAltDown
Move line up
AltUp
Move line down
AltDown
Delete line
CtrlD

Navigation

8 shortcuts
Open type
CtrlShiftT
Open resource
CtrlShiftR
Open declaration
F3
Open call hierarchy
CtrlAltH
Quick outline
CtrlO
Go to line
CtrlL
Last edit location
CtrlQ
Next problem
Ctrl.

Refactor & Search

6 shortcuts
Rename
AltShiftR
Extract method
AltShiftM
Extract local variable
AltShiftL
Find
CtrlF
Search references in workspace
CtrlShiftG
Open search dialog
CtrlH

Run & Debug

7 shortcuts
Run
CtrlF11
Debug
F11
Toggle breakpoint
CtrlShiftB
Step over
F6
Step into
F5
Step return
F7
Resume
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.

Does this page include Windows and Mac shortcuts for Eclipse?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Content assist (autocomplete) is Ctrl+Space on Windows and ⌃Space on macOS where available.

See also

No shortcuts match your search.