IntelliJ IDEA is built for power users. These shortcuts keep your macOS development momentum high.
Navigation
| Action | Shortcut |
|---|
| Search Everywhere | ⇧ + ⇧ |
| Go to Class | ⌘ + O |
| Go to File | ⌘ + ⇧ + O |
| Navigate back/forward | ⌘ + [ / ⌘ + ] |
| Recent files popup | ⌘ + E |
| Find Action | ⌘ + ⇧ + A |
| Find in Path | ⌘ + ⇧ + F |
| Replace in Path | ⌘ + ⇧ + R |
| Find Usages | ⌥ + F7 |
Editing and refactoring
| Action | Shortcut |
|---|
| Show intentions/actions | ⌥ + Enter |
| Smart rename | ⇧ + F6 |
| Extract variable | ⌥ + ⌘ + V |
| Extract method | ⌥ + ⌘ + M |
| Duplicate line | ⌘ + D |
| Delete line | ⌘ + Backspace |
| Comment line | ⌘ + / |
| Block comment | ⌘ + ⌥ + / |
| Extend selection | ⌥ + ↑ |
| Shrink selection | ⌥ + ↓ |
| Move statement up/down | ⌘ + ⇧ + ↑ / ⌘ + ⇧ + ↓ |
Code generation
| Action | Shortcut |
|---|
| Generate code (getters, constructors) | ⌘ + N |
| Surround with (try/catch, if, etc.) | ⌘ + ⌥ + T |
| Override methods | ⌃ + O |
| Implement methods | ⌃ + I |
| Reformat code | ⌘ + ⌥ + L |
| Optimize imports | ⌃ + ⌥ + O |
| Complete current statement | ⌘ + ⇧ + Enter |
Code navigation
| Action | Shortcut |
|---|
| Show implementations | ⌥ + ⌘ + B |
| Navigate to declaration | ⌘ + B |
| View file structure | ⌘ + F12 |
| Jump between methods | ⌃ + ↑ / ⌃ + ↓ |
| Toggle bookmark | ⌃ + ⌥ + <digit> |
| Show bookmarks | ⇧ + F11 |
Debugger
| Action | Shortcut |
|---|
| Step over | F8 |
| Step into | F7 |
| Smart step into | ⇧ + F7 |
| Run to cursor | ⌥ + F9 |
| Evaluate expression | ⌥ + F8 |
| Toggle breakpoint | ⌘ + F8 |
| View breakpoints | ⌘ + ⇧ + F8 |
| Resume program | ⌥ + ⌘ + R |
Run and build
| Action | Shortcut |
|---|
| Run current configuration | ⌃ + R |
| Debug current configuration | ⌃ + D |
| Run context configuration | ⌃ + ⇧ + R |
| Debug context configuration | ⌃ + ⇧ + D |
| Stop | ⌘ + F2 |
| Build project | ⌘ + F9 |
Documentation
| Action | Shortcut |
|---|
| Quick Documentation | F1 |
| Parameter info | ⌘ + P |
| Type info | ⌃ + ⇧ + P |
| Error description | ⌘ + F1 |
Version control
| Action | Shortcut |
|---|
| Open commit window | ⌘ + K |
| Push | ⌘ + ⇧ + K |
| Quick branch popup | ⌃ + V |
| Show recent changes | ⇧ + ⌘ + C |
Tabs and windows
| Action | Shortcut |
|---|
| Close active tab | ⌘ + W |
| Reopen closed tab | ⌘ + ⇧ + T |
| Next tab | ⌘ + ⇧ + ] |
| Previous tab | ⌘ + ⇧ + [ |
| Hide all tool windows | ⌘ + ⇧ + F12 |
Customize shortcuts
Open IntelliJ IDEA → Settings → Keymap (⌘ + ,) to view and customize all bindings.
Show your shortcuts on screen
Creating tutorials or presenting live? KeyScreen displays your keystrokes beautifully on screen so viewers always know what you pressed.