WebStorm Keyboard Shortcuts

WebStorm keyboard shortcut reference covering 121 bindings for Windows, Mac & Linux. Commonly searched bindings include Select configuration and run, Select configuration and debug, and Run. 121 of 121 shortcuts are verified against official WebStorm 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 WebStorm documentation

Debugging

ActionDescriptionWindowsMacVerifiedSource
Step over F8 F8 Yes Source
Step into F7 F7 Yes Source
Smart step into Shift+F7 Shift+F7 Yes Source
Step out Shift+F8 Shift+F8 Yes Source
Run to cursor Alt+F9 Option+F9 Yes Source
Evaluate expression Alt+F8 Option+F8 Yes Source
Resume program F9 F9 Yes Source
Toggle breakpoint Ctrl+F8 Cmd+F8 Yes Source
View breakpoints Ctrl+Shift+F8 Cmd+Shift+F8 Yes Source

Editing

ActionDescriptionWindowsMacVerifiedSource
Basic code completion Ctrl+Space Cmd+Space Yes Source
Show intention actions and quick-fixes Alt+Enter Option+Enter Yes Source
Parameter info (within method call arguments) Ctrl+P Cmd+P Yes Source
Quick documentation lookup Ctrl+Q Cmd+Q Yes Source
+ mouse over code Brief Info Ctrl Cmd Yes Source
Show descriptions of error or warning at caret Ctrl+F1 Cmd+F1 Yes Source
Generate code Alt+Insert Option+Insert Yes Source
Surround with(if..else, try..catch, for, etc.) Ctrl+Alt+T Cmd+Option+T Yes Source
Insert Live template Ctrl+J Cmd+J Yes Source
Comment/uncomment with line comment Ctrl Cmd Yes Source
Comment/uncomment with block comment Ctrl+Shift Cmd+Shift Yes Source
Select successively increasing code blocks Ctrl+W Cmd+W Yes Source
Decrease current selection to previous state Ctrl+Shift+W Cmd+Shift+W Yes Source
Context Info Alt+Q Option+Q Yes Source
Reformat code Ctrl+Alt+L Cmd+Option+L Yes Source
Auto-indent line(s) Ctrl+Alt+I Cmd+Option+I Yes Source
Indent selected lines Tab Tab Yes Source
Unindent selected lines Shift+Tab Shift+Tab Yes Source
Paste from recent buffers Ctrl+Shift+V Cmd+Shift+V Yes Source
Duplicate current line or selected block Ctrl+D Cmd+D Yes Source
Delete line at caret Ctrl+Y Cmd+Y Yes Source
Move line up Alt+Shift+Up Option+Shift+Up Yes Source
Move line down Alt+Shift+Down Option+Shift+Down Yes Source
Join lines Ctrl+Shift+J Cmd+Shift+J Yes Source
Split lines Ctrl+Enter Cmd+Enter Yes Source
Start new line Shift+Enter Shift+Enter Yes Source
Toggle case for word at caret or selected Ctrl+Shift+U Cmd+Shift+U Yes Source
Select till code block end Ctrl+Shift+] Cmd+Shift+] Yes Source
Select till code block start Ctrl+Shift+[ Cmd+Shift+[ Yes Source
Delete to word end Ctrl+Delete Cmd+Delete Yes Source
Delete to word start Ctrl+Backspace Cmd+Backspace Yes Source
+ NumPad+ Expand code block Ctrl Cmd Yes Source
+ NumPad- Collapse code block Ctrl Cmd Yes Source
+ NumPad+ Expand all Ctrl+Shift Cmd+Shift Yes Source
+ NumPad- Collapse all Ctrl+Shift Cmd+Shift Yes Source
Close active editor tab Ctrl+F4 Cmd+F4 Yes Source

General

ActionDescriptionWindowsMacVerifiedSource
Shift Search everywhere Shift Shift Yes Source
Find Action Ctrl+Shift+A Cmd+Shift+A Yes Source
+ #[0-9] Open corresponding tool window Alt Option Yes Source
Toggle maximizing editor Ctrl+Shift+F12 Cmd+Shift+F12 Yes Source
Add to Favorites Alt+Shift+F Option+Shift+F Yes Source
Inspect current file with current profile Alt+Shift+I Option+Shift+I Yes Source
(`) Quick switch current scheme Ctrl+` Cmd+` Yes Source
Open Settings dialog Ctrl+Alt+S Cmd+Option+S Yes Source
Switch between tabs and tool window Ctrl+Tab Cmd+Tab Yes Source

Multiple carets and selections

ActionDescriptionWindowsMacVerifiedSource
Add or remove caret Alt+Click Option+Click Yes Source
Select all occurrences Shift+Ctrl+Alt+J Shift+Cmd+Option+J Yes Source
Select next occurrence Alt+J Option+J Yes Source
Unselect occurrence Alt+Shift+J Option+Shift+J Yes Source
Unselect all occurrences or carets jetbrains.com/webstormblog.jetbrains.com/webstorm@WebStormIDE Escape Escape Yes Source

Navigation

ActionDescriptionWindowsMacVerifiedSource
Go to declaration Ctrl+B Cmd+B Yes Source
Go to class Ctrl+N Cmd+N Yes Source
Go to file Ctrl+Shift+N Cmd+Shift+N Yes Source
Go to symbol Ctrl+Alt+Shift+N Cmd+Option+Shift+N Yes Source
Go to next editor tab Alt+Right Option+Right Yes Source
Go to previous editor tab Alt+Left Option+Left Yes Source
Go back to previous tool window F12 F12 Yes Source
Go to editor (from tool window) Escape Escape Yes Source
Go to line Ctrl+G Cmd+G Yes Source
Recent files popup Ctrl+E Cmd+E Yes Source
Navigate forward Ctrl+Alt+Right Cmd+Option+Right Yes Source
Navigate back Ctrl+Alt+Left Cmd+Option+Left Yes Source
Navigate to last edit location Ctrl+Shift+Backspace Cmd+Shift+Backspace Yes Source
Select current file or symbol in any view Alt+F1 Option+F1 Yes Source
Go to implementation(s) Ctrl+Alt+B Cmd+Option+B Yes Source
Open quick definition lookup Ctrl+Shift+I Cmd+Shift+I Yes Source
Go to type declaration Ctrl+Shift+B Cmd+Shift+B Yes Source
Go to super-method/super-class Ctrl+U Cmd+U Yes Source
Go to previous method Alt+Up Option+Up Yes Source
Go to next method Alt+Down Option+Down Yes Source
/ [ Move to code block end/start Ctrl+] Cmd+] Yes Source
File structure popup Ctrl+F12 Cmd+F12 Yes Source
Type hierarchy Ctrl+H Cmd+H Yes Source
Call hierarchy Ctrl+Alt+H Cmd+Option+H Yes Source
/ Shift + F2 Next/previous highlighted error F2 F2 Yes Source
Jump to source F4 F4 Yes Source
Jump to navigation bar Alt+Home Option+Home Yes Source
Toggle bookmark F11 F11 Yes Source
Toggle bookmark with mnemonic Ctrl+Shift+F11 Cmd+Shift+F11 Yes Source
+ #[0-9] Go to numbered bookmark Ctrl Cmd Yes Source
Show bookmarks Shift+F11 Shift+F11 Yes Source

Refactoring

ActionDescriptionWindowsMacVerifiedSource
Refactor this Ctrl+Alt+Shift+T Cmd+Option+Shift+T Yes Source
/ F6 Copy / Move F5 F5 Yes Source
Safe Delete Alt+Delete Option+Delete Yes Source
Rename Shift+F6 Shift+F6 Yes Source
Change function signature Ctrl+F6 Cmd+F6 Yes Source
Inline Variable Ctrl+Alt+N Cmd+Option+N Yes Source
Extract Method Ctrl+Alt+M Cmd+Option+M Yes Source
Extract Variable Ctrl+Alt+V Cmd+Option+V Yes Source
Extract Constant Ctrl+Alt+C Cmd+Option+C Yes Source
Extract Parameter Ctrl+Alt+P Cmd+Option+P Yes Source

Running

ActionDescriptionWindowsMacVerifiedSource
Select configuration and run Alt+Shift+F10 Option+Shift+F10 Yes Source
Select configuration and debug Alt+Shift+F9 Option+Shift+F9 Yes Source
Run Shift+F10 Shift+F10 Yes Source
Debug Shift+F9 Shift+F9 Yes Source
Run context configuration from editor Ctrl+Shift+F10 Cmd+Shift+F10 Yes Source
Rerun tests Alt+Shift+R Option+Shift+R Yes Source
Run Gulp/Grunt/npm tasks Alt+F11 Option+F11 Yes Source

Search/Replace

ActionDescriptionWindowsMacVerifiedSource
Find Ctrl+F Cmd+F Yes Source
Find next F3 F3 Yes Source
Find previous Shift+F3 Shift+F3 Yes Source
Find in path Ctrl+Shift+F Cmd+Shift+F Yes Source
Replace Ctrl+R Cmd+R Yes Source
Replace in path Ctrl+Shift+R Cmd+Shift+R Yes Source

Usage Search

ActionDescriptionWindowsMacVerifiedSource
Find usages Alt+F7 Option+F7 Yes Source
Find usages in file Ctrl+F7 Cmd+F7 Yes Source
Highlight usages in file Ctrl+Shift+F7 Cmd+Shift+F7 Yes Source
Show usages Ctrl+Alt+F7 Cmd+Option+F7 Yes Source

VCS/Local History

ActionDescriptionWindowsMacVerifiedSource
(`) ‘VCS’ quick popup Alt+` Option+` Yes Source
Commit project to VCS Ctrl+K Cmd+K Yes Source
Update project from VCS Ctrl+T Cmd+T Yes Source
View recent changes Alt+Shift+C Option+Shift+C Yes Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…