General

Action Shortcut
Search Everywhere ShiftShiftShiftShiftShiftShift
Find Action CmdShiftACtrlShiftACtrlShiftA
Open Settings Cmd,CtrlAltSCtrlAltS
Open Project Structure Cmd;CtrlAltShiftSCtrlAltShiftS
Recent Files CmdECtrlECtrlE
Recent Locations CmdShiftECtrlShiftECtrlShiftE
Toggle Full Screen CtrlCmdFF11F11
Save All CmdSCtrlSCtrlS
Open Terminal AltF12AltF12AltF12
Synchronize Files CmdAltYCtrlAltYCtrlAltY

Editing

Action Shortcut
Duplicate Line CmdDCtrlDCtrlD
Delete Line CmdBackspaceCtrlYCtrlY
Move Line Up AltShiftUpAltShiftUpAltShiftUp
Move Line Down AltShiftDownAltShiftDownAltShiftDown
Comment Line Cmd/Ctrl/Ctrl/
Block Comment CmdShift/CtrlShift/CtrlShift/
Expand Selection AltUpCtrlWCtrlW
Shrink Selection AltDownCtrlShiftWCtrlShiftW
Complete Statement CmdShiftEnterCtrlShiftEnterCtrlShiftEnter
Basic Code Completion CtrlSpaceCtrlSpaceCtrlSpace
Smart Code Completion CtrlShiftSpaceCtrlShiftSpaceCtrlShiftSpace
Show Intention Actions AltEnterAltEnterAltEnter

Refactoring

Action Shortcut
Rename ShiftF6ShiftF6ShiftF6
Extract Method CmdAltMCtrlAltMCtrlAltM
Extract Variable CmdAltVCtrlAltVCtrlAltV
Extract Constant CmdAltCCtrlAltCCtrlAltC
Inline CmdAltNCtrlAltNCtrlAltN
Move F6F6F6
Safe Delete CmdDeleteAltDeleteAltDelete
Change Signature CmdF6CtrlF6CtrlF6
Extract Field CmdAltFCtrlAltFCtrlAltF
Refactor This CtrlTCtrlAltShiftTCtrlAltShiftT

Code Generation

Action Shortcut
Generate Code CmdNAltInsertAltInsert
Override Methods CtrlOCtrlOCtrlO
Implement Methods CtrlICtrlICtrlI
Surround With CmdAltTCtrlAltTCtrlAltT
Unwrap / Remove CmdShiftDeleteCtrlShiftDeleteCtrlShiftDelete
Insert Live Template CmdJCtrlJCtrlJ
Reformat Code CmdAltLCtrlAltLCtrlAltL
Optimize Imports CtrlAltOCtrlAltOCtrlAltO

Debugging

Action Shortcut
Step Over F8F8F8
Step Into F7F7F7
Step Out ShiftF8ShiftF8ShiftF8
Resume Program CmdAltRF9F9
Toggle Breakpoint CmdF8CtrlF8CtrlF8
Evaluate Expression AltF8AltF8AltF8
Run CtrlRShiftF10ShiftF10
Debug CtrlDShiftF9ShiftF9
View Breakpoints CmdShiftF8CtrlShiftF8CtrlShiftF8
Smart Step Into ShiftF7ShiftF7ShiftF7

Version Control

Action Shortcut
Commit CmdKCtrlKCtrlK
Push CmdShiftKCtrlShiftKCtrlShiftK
Update Project CmdTCtrlTCtrlT
Show Diff CmdDCtrlDCtrlD
Show VCS Log Cmd9Alt9Alt9
Rollback CmdAltZCtrlAltZCtrlAltZ
Annotate (Git Blame) CtrlAltShiftUpCtrlAltShiftUpCtrlAltShiftUp
VCS Operations Popup CtrlVAlt`Alt`

Find & Replace

Action Shortcut
Find CmdFCtrlFCtrlF
Replace CmdRCtrlRCtrlR
Find in Path CmdShiftFCtrlShiftFCtrlShiftF
Replace in Path CmdShiftRCtrlShiftRCtrlShiftR
Find Usages AltF7AltF7AltF7
Find Next CmdGF3F3
Find Previous CmdShiftGShiftF3ShiftF3
Structural Search CmdShiftSCtrlShiftSCtrlShiftS
Highlight Usages in File CmdShiftF7CtrlShiftF7CtrlShiftF7
Show Usages CmdAltF7CtrlAltF7CtrlAltF7
No shortcuts found. Try a different search term.

Frequently Asked Questions

How do I search for anything in a JetBrains IDE?
Press Shift twice (Double Shift) to open Search Everywhere. This lets you find classes, files, symbols, actions, and settings all from one search dialog. It is the single most versatile shortcut in any JetBrains IDE.
How do I switch between the default and macOS keymaps?
Go to Settings (Cmd+, on Mac or Ctrl+Alt+S on Windows/Linux), then navigate to Keymap. You can choose from several preset keymaps including IntelliJ IDEA Classic, macOS, Eclipse, Visual Studio, and others.
What are the most essential JetBrains shortcuts to learn first?
Start with Search Everywhere (Shift+Shift), Find Action (Cmd/Ctrl+Shift+A), Go to File (Cmd+Shift+O / Ctrl+Shift+N), Basic Completion (Ctrl+Space), Show Intention Actions (Alt+Enter), and Rename (Shift+F6). These cover navigation, editing, and refactoring basics.
Are JetBrains keyboard shortcuts the same across IntelliJ, WebStorm, and PyCharm?
Yes, all JetBrains IDEs share the same default keymap. Shortcuts for navigation, editing, refactoring, debugging, and version control are consistent across IntelliJ IDEA, WebStorm, PyCharm, PhpStorm, GoLand, and other JetBrains products.
How do I quickly fix or improve code using keyboard shortcuts?
Press Alt+Enter to show intention actions and quick fixes at the current cursor position. This context-aware shortcut suggests fixes for errors, code improvements, and automated refactorings. For broader refactoring options, press Ctrl+T (Mac) or Ctrl+Alt+Shift+T (Windows/Linux) to open the Refactor This menu.