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.

Illustration of a Mac IDE workspace with floating keyboard shortcut keys

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

Illustration of a Mac notes and database workspace with glowing keyboard shortcut keys
July 29, 20267 min read
Keyboard Shortcuts

Notion Keyboard Shortcuts: The Complete Guide for MacNotion Keyboard Shortcuts: The Complete Guide for Mac

Move through Notion faster on Mac with essential shortcuts for search, pages, blocks, formatting, databases, tabs, and slash commands.

Illustration of a Mac spreadsheet dashboard with floating keyboard shortcut keys
January 18, 20267 min read
Keyboard Shortcuts

Excel for Mac Keyboard Shortcuts: The Complete GuideExcel for Mac Keyboard Shortcuts: The Complete Guide

Master Excel for Mac with the keyboard shortcuts that speed up navigation, formatting, functions, and data entry.

Illustration of a Mac vector design workspace with floating keyboard shortcut keys
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.

Simple no-tricks pricing
Pay once, use forever

You can download the app from the Mac App Store or directly from our website.

Download on the Mac App Store
Direct
Download

Prefer the terminal?