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

Editing

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

File

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

Formatting

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

General

ActionDescriptionWindowsMacVerifiedSource
Settings Open IDE settings dialog Ctrl+Alt+S Cmd+Option+S Yes Source

Git

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

Navigation

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

Search

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

Selection

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

Terminal

ActionDescriptionWindowsMacVerifiedSource
Terminal Open embedded terminal tool window Alt+F12 Option+F12 Yes Source

View

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

Window

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

← All apps on Shortcut Atlas

Loading Shortcut Atlas…