This page is a complete keyboard shortcut reference for Eclipse on macOS, covering all 88 shortcuts organized into 11 sections. Whether you’re new to Eclipse or looking to master advanced features, this cheat sheet has every key combination you need — from basic editing and navigation to app-specific power-user actions.
Keyboard shortcuts are the fastest way to work in Eclipse. Every time you use a shortcut instead of reaching for the mouse, you save a few seconds — and those seconds compound into hours over weeks and months. Start with the shortcuts you use most (copy, paste, undo, save), then gradually add app-specific ones as they become relevant to your workflow. Bookmark this page or download the PDF cheat sheet for quick reference.
Using keyboard shortcuts in Eclipse reduces context switching between keyboard and mouse, helping you maintain focus and work more efficiently. Research shows that shortcut-driven workflows can save up to 8 working days per year compared to menu-driven navigation. On macOS, most Eclipse shortcuts follow standard conventions — once you learn the modifier key patterns, new shortcuts become intuitive.
Tips for Learning Shortcuts
- Practice one new Eclipse shortcut each day. Muscle memory builds faster when you focus on a single combination at a time rather than trying to learn them all at once.
- Print or bookmark this page for quick reference while working in Eclipse. Having shortcuts visible nearby helps bridge the gap between looking them up and recalling them from memory.
- Start with the shortcuts you use most. In Eclipse, common actions like copy, paste, undo, and save are worth learning first since they apply across nearly every workflow.
Edit14
| Action | Shortcut |
|---|---|
| Undo | ⌘Z |
| Cut | ⌘X |
| Copy | ⌘C |
| Paste | ⌘V |
| Select All | ⌘A |
| Find and Replace | ⌘F |
| Find Next | ⌘K |
| Find Previous | ⇧⌘K |
| Quick Fix | ⌘1 |
| Content Assist | ⌃Space |
| Word Completion | ⌃. |
| Context Information | ⌃⇧Space |
| Incremental Find | ⌘J |
| Toggle Block Selection | ⌥⌘A |
File7
| Action | Shortcut |
|---|---|
| New | ⌘N |
| Close | ⌘W |
| Save | ⌘S |
| ⌘P | |
| Rename | F2 |
| Refresh | F5 |
| Properties | ⌘I |
Search4
| Action | Shortcut |
|---|---|
| Open Search Dialog | ⌃H |
| Find in Workspace | ⌥⌘G |
| Search Declaration | ⌘G |
| Search References | ⇧⌘G |
Source Editing5
| Action | Shortcut |
|---|---|
| Toggle Comment | ⌘/ |
| Format | ⇧⌘F |
| Toggle Mark Occurrences | ⌥⌘O |
| Source Quick Menu | ⌥⌘S |
| Open Declaration | F3 |
Text Editing13
| Action | Shortcut |
|---|---|
| Delete Line | ⌘D |
| Move Lines Down | ⌥↓ |
| Move Lines Up | ⌥↑ |
| Copy Lines Down | ⌥⌘↓ |
| Copy Lines Up | ⌥⌘↑ |
| Delete Previous Word | ⌥Delete |
| Insert Line Above | ⇧⌘↩ |
| Cursor to Line Start | ⌘← |
| Cursor to Line End | ⌘→ |
| Zoom In | ⌘= |
| Zoom Out | ⌘- |
| Toggle Word Wrap | ⌥⌘Y |
| Delete to End of Line | ⇧⌘Delete |
Java17
| Action | Shortcut |
|---|---|
| Open Type Hierarchy | F4 |
| Quick Outline | ⌘O |
| Quick Hierarchy | ⌘T |
| Organize Imports | ⇧⌘O |
| Add Import | ⇧⌘M |
| Rename (Refactor) | ⌥⌘R |
| Extract Method | ⌥⌘M |
| Extract Local Variable | ⌥⌘L |
| Inline | ⌥⌘I |
| Refactor Menu | ⌥⌘T |
| Move (Refactor) | ⌥⌘V |
| Add Javadoc | ⌥⌘J |
| Surround With | ⌥⌘Z |
| Build All | ⌘B |
| Go to Next Member | ⌃⌥↓ |
| Go to Previous Member | ⌃⌥↑ |
| Open Call Hierarchy | ⌃⌥H |
Debugging7
| Action | Shortcut |
|---|---|
| Step Into | F5 |
| Step Over | F6 |
| Step Return | F7 |
| Resume | F8 |
| Terminate | ⌘F2 |
| Toggle Breakpoint | ⇧⌘B |
| Run to Line | ⌘R |
Run1
| Action | Shortcut |
|---|---|
| Run | ⇧⌘F11 |
Window11
| Action | Shortcut |
|---|---|
| Quick Access | ⌘3 |
| Quick Switch Editor | ⌘E |
| Next Editor | ⌘F6 |
| Previous Editor | ⇧⌘F6 |
| Maximize View | ⌃M |
| Next View | ⌘F7 |
| Previous View | ⇧⌘F7 |
| Next Perspective | ⌘F8 |
| Previous Perspective | ⇧⌘F8 |
| Show Key Assist | ⇧⌘L |
| Toggle Full Screen | ⌃⌘F |
Git1
| Action | Shortcut |
|---|---|
| Git Commit | ⌥⌘3 |
Frequently Asked Questions
Access Eclipse shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.