JetBrains IntelliJ IDEA macOS Shortcuts
| Action | macOS Shortcut |
|---|---|
| General | |
| Search Everywhere | Double⇧ |
| Find Action | ⌘⇧A |
| Show Context Actions | ⌥Enter |
| Open Settings | ⌘, |
| Recent Files | ⌘E |
| Focus Project Tool Window | ⌘1 |
| Focus Editor | Esc |
| Help Keyboard Shortcuts | ⌘⇧A |
| Editing | |
| Basic Completion | ⌃Space |
| Complete Current Statement | ⌘⇧Enter |
| Reformat Code | ⌘⌥L |
| Optimize Imports | ⌃⌥O |
| Comment With Line Comment | ⌘/ |
| Comment With Block Comment | ⌘⌥/ |
| Extend Selection | ⌥↑ |
| Shrink Selection | ⌥↓ |
| Navigation | |
| Go To Declaration | ⌘B |
| Go To Implementation | ⌘⌥B |
| Find Usages | ⌥F7 |
| Go To Class | ⌘O |
| Go To File | ⌘⇧O |
| Go To Symbol | ⌘⌥O |
| Next Highlighted Error | F2 |
| Previous Highlighted Error | ⇧F2 |
| Refactor And Run | |
| Refactor This | ⌃T |
| Rename | ⇧F6 |
| Extract Variable | ⌘⌥V |
| Extract Method | ⌘⌥M |
| Run | ⌃R |
| Debug | ⌃D |
| Toggle Line Breakpoint | ⌘F8 |
| Step Over | F8 |