IntelliJ IDEA shortcuts
- 51 shortcuts
- 6 sections
- Development
- Verified against official docs
Your answer helps keep this page right.
Do these shortcuts work for you?
The Search & Navigation section has Find Action, Recent Files and Find Usages. It also moves through the places you have visited, with Navigate Back and Navigate Forward, and through problems in the file, with Next Error and Previous Error.
Start with these
- Find Action
- Go to Declaration
- Find Usages
- Context Actions / Quick Fix
- Reformat Code
- Refactor This
Tips for IntelliJ IDEA
- Move Statement Up ⇧⌘↑ and Move Statement Down ⇧⌘↓ move a statement up or down.
- Join Lines ⌃⇧J joins the next line to the current one.
Editing14
| Action | Shortcut |
|---|---|
| Duplicate Line | |
| Delete Line | |
| Move Statement Up | |
| Move Statement Down | |
| Complete Statement | |
| Line Comment | |
| Block Comment | |
| Extend Selection | |
| Shrink Selection | |
| Context Actions / Quick Fix | |
| Join Lines | |
| Reformat Code | |
| Code Completion | |
| Generate |
Find & Replace4
| Action | Shortcut |
|---|---|
| Find | |
| Replace | |
| Find in Path | |
| Replace in Path |
Run & Debug7
| Action | Shortcut |
|---|---|
| Run | |
| Debug | |
| Build Project | |
| Step Over | |
| Step Into | |
| Step Out | |
| Run to Cursor |
Refactoring & VCS5
| Action | Shortcut |
|---|---|
| Refactor This | |
| Rename | |
| Commit | |
| Revert Changes | |
| VCS Operations |
Tool Windows8
| Action | Shortcut |
|---|---|
| Project Window | |
| Run Window | |
| Debug Window | |
| Structure Window | |
| VCS Window | |
| Commit Window | |
| Terminal | |
| Settings |
Report a problem
GitHub is public. Email is private.
More Development shortcuts
Explore more macOS apps
Frequently Asked Questions
How many keyboard shortcuts does IntelliJ IDEA have on macOS?
IntelliJ IDEA has 51 keyboard shortcuts on macOS, organized into 6 sections: Search & Navigation, Editing, Find & Replace, Run & Debug, and more. This page lists all of them with searchable, organized shortcut tables.
Which IntelliJ IDEA shortcuts should I learn first?
Start with Find Action (⇧⌘A), Go to Declaration (⌘B), Find Usages (⌥F7), Context Actions / Quick Fix (⌥↩), Reformat Code (⌥⌘L), Refactor This (⌃T). The sections on this page list the rest.
Can I download IntelliJ IDEA shortcuts as a PDF?
Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 51 IntelliJ IDEA shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.
Where is the official IntelliJ IDEA keyboard shortcuts documentation?
The official IntelliJ IDEA 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 IntelliJ IDEA 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 Vladik Didyk
Access IntelliJ IDEA shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.
