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

Postman Keyboard Shortcuts: The Complete Guide for API Testing
December 25, 20256 min read
Keyboard Shortcuts

Postman Keyboard Shortcuts: The Complete Guide for API TestingPostman Keyboard Shortcuts: The Complete Guide for API Testing

Master Postman with this comprehensive keyboard shortcuts guide. From building requests to managing collections, become a Postman power user.

Sketch Keyboard Shortcuts: The Complete Guide for Mac
December 25, 20257 min read
Keyboard Shortcuts

Sketch Keyboard Shortcuts: The Complete Guide for MacSketch Keyboard Shortcuts: The Complete Guide for Mac

Master Sketch with this comprehensive keyboard shortcuts guide for Mac. From essential tools to advanced layer operations, become a Sketch power user.

Xcode Keyboard Shortcuts to Speed Up macOS and iOS Development
November 8, 20255 min read
Keyboard Shortcuts

Xcode Keyboard Shortcuts to Speed Up macOS and iOS DevelopmentXcode Keyboard Shortcuts to Speed Up macOS and iOS Development

Navigate storyboards, refactor Swift, and ship builds faster with the Xcode shortcuts every Apple developer should master.

Simple no-tricks pricing
Pay once, use forever

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