Skip to main content

Eclipse shortcuts

Your answer helps keep this page right.

Do these shortcuts work for you?

Rename (Refactor), Extract Method, Extract Local Variable, Inline and Move (Refactor) share their modifiers in the Java section of the Eclipse list and differ in the letter, and Refactor Menu uses the same modifiers. In Search, one letter with three sets of modifiers gives Search Declaration, Search References and Find in Workspace, and the section also has Open Search Dialog.

SetappAd
A shortcut to the best Mac apps

An essential toolbox for macOS and iOS.

Start with these

  • Content Assist
  • Quick Fix
  • Open Declaration
  • Organize Imports
  • Format
  • Quick Access

Tips for Eclipse

  • In Window, Next Editor ⌘F6, Next View ⌘F7 and Next Perspective ⌘F8 use three function keys in a row with one modifier. Shift added gives Previous Editor ⇧⌘F6, Previous View ⇧⌘F7 and Previous Perspective ⇧⌘F8.
  • In Text Editing, Copy Lines Down ⌥⌘↓ and Copy Lines Up ⌥⌘↑ use the keys of Move Lines Down ⌥↓ and Move Lines Up ⌥↑ with one more modifier.
Jump to section

Edit14

ActionShortcut
Undo
Cut
Copy
Paste
Select All
Find and Replace
Find Next
Find Previous
Quick Fix
Content Assist
Word Completion
Context Information
Incremental Find
Toggle Block Selection

File7

ActionShortcut
New
Close
Save
Print
Rename
Refresh
Properties

Source Editing5

ActionShortcut
Toggle Comment
Format
Toggle Mark Occurrences
Source Quick Menu
Open Declaration

Text Editing13

ActionShortcut
Delete Line
Move Lines Down
Move Lines Up
Copy Lines Down
Copy Lines Up
Delete Previous Word
Insert Line Above
Cursor to Line Start
Cursor to Line End
Zoom In
Zoom Out
Toggle Word Wrap
Delete to End of Line

Java17

ActionShortcut
Open Type Hierarchy
Quick Outline
Quick Hierarchy
Organize Imports
Add Import
Rename (Refactor)
Extract Method
Extract Local Variable
Inline
Refactor Menu
Move (Refactor)
Add Javadoc
Surround With
Build All
Go to Next Member
Go to Previous Member
Open Call Hierarchy

Debugging7

ActionShortcut
Step Into
Step Over
Step Return
Resume
Terminate
Toggle Breakpoint
Run to Line

Run1

ActionShortcut
Run

Window11

ActionShortcut
Quick Access
Quick Switch Editor
Next Editor
Previous Editor
Maximize View
Next View
Previous View
Next Perspective
Previous Perspective
Show Key Assist
Toggle Full Screen

Git1

ActionShortcut
Git Commit
Report a problem

GitHub is public. Email is private.

Frequently Asked Questions

How many keyboard shortcuts does Eclipse have on macOS?

Eclipse has 88 keyboard shortcuts on macOS, organized into 11 sections: Edit, File, Navigate, Search, and more. This page lists all of them with searchable, organized shortcut tables.

Which Eclipse shortcuts should I learn first?

Start with Content Assist (⌃Space), Quick Fix (⌘1), Open Declaration (F3), Organize Imports (⇧⌘O), Format (⇧⌘F), Quick Access (⌘3). The sections on this page list the rest.

Can I download Eclipse shortcuts as a PDF?

Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 88 Eclipse shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.

Where is the official Eclipse keyboard shortcuts documentation?

The official Eclipse keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.

Do these Eclipse shortcuts work on all Mac keyboards?

Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.

Maintained by

Access Eclipse shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.