IntelliJ IDEA Keyboard Shortcuts

IntelliJ IDEA keyboard shortcut reference covering 120 bindings for Windows, Mac & Linux. Commonly searched bindings include Find Action, Search Everywhere, and Recent Files. 120 of 120 shortcuts are verified against official IntelliJ IDEA documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official IntelliJ IDEA documentation

Debug

ActionDescriptionWindowsMacVerifiedSource
Next Error Go to next error F2 F2 Windows, macOS, Linux Source
Problems Open Problems tool window Alt+6 Option+6 Windows, Linux Source
Run Run current configuration Shift+F10 Shift+F10 Windows, macOS, Linux Source
Debug Debug current configuration Shift+F9 Shift+F9 Windows, macOS, Linux Source
Stop Stop running process Ctrl+F2 Cmd+F2 Windows, Linux Source
Toggle Breakpoint Toggle line breakpoint Ctrl+F8 Cmd+F8 Windows, Linux Source
Step Over Step over in debugger F8 F8 Windows, macOS, Linux Source
Step Into Step into in debugger F7 F7 Windows, macOS, Linux Source
Show Error Description Show description of error at caret Ctrl+F1 Cmd+F1 Windows, Linux Source
Evaluate Expression Evaluate expression in debugger Alt+F8 Option+F8 Windows, Linux Source
Resume Program Resume paused debug session F9 F9 Windows, macOS, Linux Source
Step Out Step out of current method Shift+F8 Shift+F8 Windows, macOS, Linux Source
Run to Cursor Run until cursor line in debugger Alt+F9 Option+F9 Windows, Linux Source
View Breakpoints Open breakpoints dialog Ctrl+Shift+F8 Cmd+Shift+F8 Windows, Linux Source
Reload Reload changed classes without restart Ctrl+F5 Cmd+F5 Windows, Linux Source
Build Project Build current project Ctrl+F9 Cmd+F9 Windows, Linux Source
Rebuild Project Clean and rebuild project Ctrl+Shift+F9 Cmd+Shift+F9 Windows, Linux Source
Select Run Configuration Choose and run configuration Alt+Shift+F10 Option+Shift+F10 Windows, Linux Source
Run Panel Open Run tool window Alt+4 Option+4 Windows, Linux Source
Debug Panel Open Debug tool window Alt+5 Option+5 Windows, Linux Source
Inspect Code Run code inspection on scope Alt+Shift+I Option+Shift+I Windows, Linux Source
Previous Error Go to previous error or warning Shift+F2 Shift+F2 Windows, macOS, Linux Source

Editing

ActionDescriptionWindowsMacVerifiedSource
Quick Fix Show intention actions Alt+Enter Option+Enter Windows, Linux Source
Rename Rename symbol Shift+F6 Shift+F6 Windows, macOS, Linux Source
Change Signature Change method signature Ctrl+F6 Cmd+F6 Windows, Linux Source
Extract Method Extract selection to method Ctrl+Alt+M Cmd+Option+M Windows, Linux Source
Extract Variable Extract selection to variable Ctrl+Alt+V Cmd+Option+V Windows, Linux Source
Duplicate Line Duplicate current line Ctrl+D Cmd+D Windows, Linux Source
Delete Line Delete current line Ctrl+Y Cmd+Y Windows, Linux Source
Join Lines Join lines together Ctrl+Shift+J Cmd+Shift+J Windows, Linux Source
Line Comment Toggle line comment Ctrl+/ Cmd+/ Windows, Linux Source
Block Comment Toggle block comment Ctrl+Shift+/ Cmd+Shift+/ Windows, Linux Source
Complete Statement Complete current statement Ctrl+Shift+Enter Cmd+Shift+Enter Windows, Linux Source
Parameter Info Show parameter information Ctrl+P Cmd+P Windows, Linux Source
Surround With Wrap selection in code construct Ctrl+Alt+T Cmd+Option+T Windows, Linux Source
Smart Code Completion Show type-aware code completion Ctrl+Shift+Space Cmd+Shift+Space Windows, Linux Source
Generate Code Open generate menu for boilerplate Alt+Insert Option+Insert Windows, Linux Source
Override Methods Override superclass methods Ctrl+O Cmd+O Windows, Linux Source
Implement Methods Implement interface methods Ctrl+I Cmd+I Windows, Linux Source
Toggle Case Toggle case of selected text Ctrl+Shift+U Cmd+Shift+U Windows, Linux Source
Smart Line Split Split line before cursor Ctrl+Enter Cmd+Enter Windows, Linux Source
Start New Line Start new line below current line Shift+Enter Shift+Enter Windows, macOS, Linux Source
Delete to Word End Delete from cursor to end of word Ctrl+Delete Cmd+Delete Windows, Linux Source
Delete to Word Start Delete from cursor to start of word Ctrl+Backspace Cmd+Backspace Windows, Linux Source
Paste from History Paste from clipboard history Ctrl+Shift+V Cmd+Shift+V Windows, Linux Source
Move Statement Up Move statement or line up Ctrl+Shift+Up Cmd+Shift+Up Windows, Linux Source
Move Statement Down Move statement or line down Ctrl+Shift+Down Cmd+Shift+Down Windows, Linux Source
Refactor This Show all available refactorings Ctrl+Alt+Shift+T Cmd+Option+Shift+T Windows, Linux Source
Inline Inline variable, method, or constant Ctrl+Alt+N Cmd+Option+N Windows, Linux Source
Extract Constant Extract selection to constant Ctrl+Alt+C Cmd+Option+C Windows, Linux Source
Extract Field Extract selection to new field Ctrl+Alt+F Cmd+Option+F Windows, Linux Source
Extract Parameter Extract selection to parameter Ctrl+Alt+P Cmd+Option+P Windows, Linux Source
Safe Delete Delete symbol with usage check Alt+Delete Option+Delete Windows, Linux Source

File

ActionDescriptionWindowsMacVerifiedSource
Copy Copy file or line F5 F5 Windows, macOS, Linux Source
Move Move file or line F6 F6 Windows, macOS, Linux Source
Project Structure Open project and module settings Ctrl+Alt+Shift+S Cmd+Option+Shift+S Windows, Linux Source
Synchronize Synchronize project with file system Ctrl+Alt+Y Cmd+Option+Y Windows, Linux Source

Formatting

ActionDescriptionWindowsMacVerifiedSource
Reformat Code Reformat current file Ctrl+Alt+L Cmd+Option+L Windows, Linux Source
Optimize Imports Organize import statements Ctrl+Alt+O Cmd+Option+O Windows, Linux Source

General

ActionDescriptionWindowsMacVerifiedSource
Settings Open IDE settings dialog Ctrl+Alt+S Cmd+Option+S Windows, Linux Source

Git

ActionDescriptionWindowsMacVerifiedSource
VCS Commit Commit changes Ctrl+K Cmd+K Windows, Linux Source
VCS Update Update project from VCS Ctrl+T Cmd+T Windows, Linux Source
VCS Push Push committed changes to remote Ctrl+Shift+K Cmd+Shift+K Windows, Linux Source
Show Changes Open Version Control tool window Alt+9 Option+9 Windows, Linux Source
Rollback Revert local changes to VCS state Ctrl+Alt+Z Cmd+Option+Z Windows, Linux Source

Navigation

ActionDescriptionWindowsMacVerifiedSource
Recent Files Show recently opened files Ctrl+E Cmd+E Windows, Linux Source
Recent Locations Show recent edit locations Ctrl+Shift+E Cmd+Shift+E Windows, Linux Source
Go to Class Navigate to class Ctrl+N Cmd+N Windows, Linux Source
Go to File Navigate to file Ctrl+Shift+N Cmd+Shift+N Windows, Linux Source
Go to Declaration Navigate to declaration Ctrl+B Cmd+B Windows, Linux Source
Go to Super Go to super method/class Ctrl+U Cmd+U Windows, Linux Source
Go to Implementation Ctrl+Alt+B Cmd+Option+B Windows, Linux Source
File Structure Show file structure popup Ctrl+F12 Cmd+F12 Windows, Linux Source
Type Hierarchy Show type hierarchy Ctrl+H Cmd+H Windows, Linux Source
Quick Documentation Show quick docs Ctrl+Q Cmd+Q Windows, Linux Source
Project Panel Open Project tool window Alt+1 Option+1 Windows, Linux Source
Favorites Open Favorites tool window Alt+2 Option+2 Windows, Linux Source
External Documentation Open external docs for symbol Shift+F1 Shift+F1 Windows, macOS, Linux Source
Context Info Show context information popup Alt+Q Option+Q Windows, Linux Source
Go to Symbol Navigate to symbol across project Ctrl+Alt+Shift+N Cmd+Option+Shift+N Windows, Linux Source
Go to Line Jump to specific line number Ctrl+G Cmd+G Windows, Linux Source
Navigate Back Go back in navigation history Ctrl+Alt+Left Cmd+Option+Left Windows, Linux Source
Navigate Forward Go forward in navigation history Ctrl+Alt+Right Cmd+Option+Right Windows, Linux Source
Last Edit Location Jump to last edited location Ctrl+Shift+Backspace Cmd+Shift+Backspace Windows, Linux Source
Next Editor Tab Switch to next open editor tab Alt+Right Option+Right Windows, Linux Source
Previous Editor Tab Switch to previous open editor tab Alt+Left Option+Left Windows, Linux Source
Switcher Open recent files switcher popup Ctrl+Tab Cmd+Tab Windows, Linux Source
Structure Panel Open Structure tool window Alt+7 Option+7 Windows, Linux Source
Services Panel Open Services tool window Alt+8 Option+8 Windows, Linux Source
Toggle Bookmark Toggle bookmark on current line F11 F11 Windows, macOS, Linux Source
Show Bookmarks Open bookmarks list popup Ctrl+F11 Cmd+F11 Windows, Linux Source
Go to Test Navigate between test and tested class Ctrl+Shift+T Cmd+Shift+T Windows, Linux Source
Call Hierarchy Show call hierarchy for symbol Ctrl+Alt+H Cmd+Option+H Windows, Linux Source

Search

ActionDescriptionWindowsMacVerifiedSource
Find Action Search all actions Ctrl+Shift+A Cmd+Shift+A Windows, Linux Source
Search Everywhere Search files, classes, symbols Shift+Shift Shift+Shift Windows, macOS, Linux Source
Find Usages Find all usages Alt+F7 Option+F7 Windows, Linux Source
Find Find text in current file Ctrl+F Cmd+F Windows, Linux Source
Replace Find and replace in current file Ctrl+R Cmd+R Windows, Linux Source
Find in Path Search across project files Ctrl+Shift+F Cmd+Shift+F Windows, Linux Source
Replace in Path Replace across project files Ctrl+Shift+R Cmd+Shift+R Windows, Linux Source
Find Next Go to next find match F3 F3 Windows, macOS, Linux Source
Find Previous Go to previous find match Shift+F3 Shift+F3 Windows, macOS, Linux Source

Selection

ActionDescriptionWindowsMacVerifiedSource
Highlight Usages Highlight usages in file Ctrl+Shift+F7 Cmd+Shift+F7 Windows, Linux Source
Multi-select Next Add next occurrence Alt+J Option+J Windows, Linux Source
Extend Selection Expand selection Ctrl+W Cmd+W Windows, Linux Source
Shrink Selection Ctrl+Shift+W Cmd+Shift+W Windows, Linux Source
Select to Block End Extend selection to code block end Ctrl+Shift+] Cmd+Shift+] Windows, Linux Source
Select to Block Start Extend selection to code block start Ctrl+Shift+[ Cmd+Shift+[ Windows, Linux Source
Unselect All Clear all carets and selections Escape Escape Windows, macOS, Linux Source
Unselect Occurrence Remove last added occurrence selection Shift+Alt+J Shift+Option+J Windows, Linux Source
Select All Occurrences Select all occurrences in file Ctrl+Alt+Shift+J Cmd+Option+Shift+J Windows, Linux Source
Column Selection Mode Toggle column selection mode Alt+Shift+Insert Option+Shift+Insert Windows, Linux Source

Terminal

ActionDescriptionWindowsMacVerifiedSource
Terminal Open embedded terminal tool window Alt+F12 Option+F12 Windows, Linux Source

View

ActionDescriptionWindowsMacVerifiedSource
Expand Code Block Expand folding region at caret Ctrl+NumPad Cmd+NumPad Windows, Linux Source
Collapse Code Block Collapse folding region at caret Ctrl+NumPad- Cmd+NumPad- Windows, Linux Source
Expand All Expand all folding regions in file Ctrl+Shift+NumPad Cmd+Shift+NumPad Windows, Linux Source
Collapse All Collapse all folding regions in file Ctrl+Shift+NumPad- Cmd+Shift+NumPad- Windows, Linux Source
Maximize Editor Hide tool windows and maximize editor Ctrl+Shift+F12 Cmd+Shift+F12 Windows, Linux Source

Window

ActionDescriptionWindowsMacVerifiedSource
Close Tab Close current editor tab Ctrl+F4 Cmd+F4 Windows, Linux Source
Close All Tabs Close all editor tabs Ctrl+Shift+F4 Cmd+Shift+F4 Windows, Linux Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…