Eclipse macOS Shortcuts
| Action | macOS Shortcut |
|---|---|
| Editing | |
| Content assist (autocomplete) | ⌃Space |
| Quick fix | ⌘1 |
| Comment / uncomment line | ⌘/ |
| Format code | ⌘⇧F |
| Organize imports | ⌘⇧O |
| Duplicate line | ⌘⌥Down |
| Move line up | ⌥Up |
| Move line down | ⌥Down |
| Delete line | ⌘D |
| Navigation | |
| Open type | ⌘⇧T |
| Open resource | ⌘⇧R |
| Open declaration | F3 |
| Open call hierarchy | ⌘⌥H |
| Quick outline | ⌘O |
| Go to line | ⌘L |
| Last edit location | ⌘Q |
| Next problem | ⌘. |
| Refactor & Search | |
| Rename | ⌥⇧R |
| Extract method | ⌥⇧M |
| Extract local variable | ⌥⇧L |
| Find | ⌘F |
| Search references in workspace | ⌘⇧G |
| Open search dialog | ⌃H |
| Run & Debug | |
| Run | ⌘F11 |
| Debug | F11 |
| Toggle breakpoint | ⌘⇧B |
| Step over | F6 |
| Step into | F5 |
| Step return | F7 |
| Resume | F8 |