Keyboard Shortcuts5 min read

Master IntelliJ IDEA Keyboard Shortcuts on macOS

Navigate, refactor, and debug faster in IntelliJ IDEA with a macOS-first shortcut toolkit you can lean on daily.

IntelliJ IDEA is built for power users. These shortcuts keep your macOS development momentum high.

Navigation

ActionShortcut
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

ActionShortcut
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

ActionShortcut
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

ActionShortcut
Show implementations⌥ + ⌘ + B
Navigate to declaration⌘ + B
View file structure⌘ + F12
Jump between methods⌃ + ↑ / ⌃ + ↓
Toggle bookmark⌃ + ⌥ + <digit>
Show bookmarks⇧ + F11

Debugger

ActionShortcut
Step overF8
Step intoF7
Smart step into⇧ + F7
Run to cursor⌥ + F9
Evaluate expression⌥ + F8
Toggle breakpoint⌘ + F8
View breakpoints⌘ + ⇧ + F8
Resume program⌥ + ⌘ + R

Run and build

ActionShortcut
Run current configuration⌃ + R
Debug current configuration⌃ + D
Run context configuration⌃ + ⇧ + R
Debug context configuration⌃ + ⇧ + D
Stop⌘ + F2
Build project⌘ + F9

Documentation

ActionShortcut
Quick DocumentationF1
Parameter info⌘ + P
Type info⌃ + ⇧ + P
Error description⌘ + F1

Version control

ActionShortcut
Open commit window⌘ + K
Push⌘ + ⇧ + K
Quick branch popup⌃ + V
Show recent changes⇧ + ⌘ + C

Tabs and windows

ActionShortcut
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.

Discover more posts

Essential Cursor IDE Keyboard Shortcuts for macOS
December 21, 20256 min read
Keyboard Shortcuts

Essential Cursor IDE Keyboard Shortcuts for macOSEssential Cursor IDE Keyboard Shortcuts for macOS

Master Cursor's AI-powered coding with these essential macOS keyboard shortcuts for faster, smarter development.

Adobe Premiere Pro Keyboard Shortcuts: The Complete Guide for Mac
December 25, 202510 min read
Keyboard Shortcuts

Adobe Premiere Pro Keyboard Shortcuts: The Complete Guide for MacAdobe Premiere Pro Keyboard Shortcuts: The Complete Guide for Mac

Master Adobe Premiere Pro with this comprehensive keyboard shortcuts guide for Mac. From timeline editing to color grading, become a video editing power user.

Pixelmator Pro Keyboard Shortcuts: The Complete Guide for Mac
January 17, 20267 min read
Keyboard Shortcuts

Pixelmator Pro Keyboard Shortcuts: The Complete Guide for MacPixelmator Pro Keyboard Shortcuts: The Complete Guide for Mac

Master Pixelmator Pro with this comprehensive keyboard shortcuts guide for Mac. From essential tools to editing and export, become a Pixelmator Pro power user.

Simple no-tricks pricing
Pay once, use forever

You can download the app from the Mac App Store today.