WebStorm logo

WebStorm

Professional JavaScript and TypeScript IDE by JetBrains with intelligent code completion, refactoring, and debugging

400 shortcuts

Visit website
Platform
ActionShortcut
Search Everywhere⇧+⇧
Find Action⇧+⌘+A
Run Anything⌃+⌃
Find in Files⇧+⌘+F
Replace in Files⇧+⌘+R
Find⌘+F
Replace⌘+R
Find next⌘+G
Find previous⇧+⌘+G
Find word at caret⌘+F3
Find usages⌥+F7
Find usages in file⌘+F7
Highlight usages in file⇧+⌘+F7
Show usages⌥+⌘+F7
Search Everywhere⇧+⇧
Find Action⌃+⇧+A
Run Anything⌃+⌃
Find in Files⌃+⇧+F
Replace in Files⌃+⇧+R
Find⌃+F
Replace⌃+R
Find nextF3
Find previous⇧+F3
Find word at caret⌃+F3
Find usages⌥+F7
Find usages in file⌃+F7
Highlight usages in file⌃+⇧+F7
Show usages⌃+⌥+F7

Editing

ActionShortcut
Basic code completion⌃+Space
Smart code completion⌃+⇧+Space
Complete statement⇧+⌘+↩
Show intention actions⌥+↩
Parameter info⌘+P
Quick documentation⌃+J
External documentation⇧+F1
Error description⌘+F1
Generate code⌘+N
Override methods⌃+O
Implement methods⌃+I
Surround with⌥+⌘+T
Insert Live template⌘+J
Surround with Live template⌥+⌘+J
Comment line⌘+/
Comment block⌥+⌘+/
Extend selection⌥+↑
Shrink selection⌥+↓
Context info⌃+⇧+Q
Reformat code⌥+⌘+L
Optimize imports⌃+⌥+O
Auto-indent lines⌃+⌥+I
Indent selectionTab
Unindent selection⇧+Tab
Paste from history⇧+⌘+V
Duplicate line⌘+D
Delete line⌘+⌫
Smart line join⌃+⇧+J
Smart line split⌘+↩
Start new line⇧+↩
Toggle case⇧+⌘+U
Select to code block end⌥+⇧+]
Select to code block start⌥+⇧+[
Delete to word end⌥+⌫
Delete to word start⌥+Delete
Move line up⌥+⇧+↑
Move line down⌥+⇧+↓
Move statement up⇧+⌘+↑
Move statement down⇧+⌘+↓
Expand code block⌘++
Collapse code block⌘+-
Expand all⇧+⌘++
Collapse all⇧+⌘+-
Close active editor tab⌘+W
Basic code completion⌃+Space
Smart code completion⌃+⇧+Space
Complete statement⌃+⇧+Enter
Show intention actions⌥+Enter
Parameter info⌃+P
Quick documentation⌃+Q
External documentation⇧+F1
Error description⌃+F1
Generate code⌥+Insert
Override methods⌃+O
Implement methods⌃+I
Surround with⌃+⌥+T
Insert Live template⌃+J
Surround with Live template⌃+⌥+J
Comment line⌃+/
Comment block⌃+⇧+/
Extend selection⌃+W
Shrink selection⌃+⇧+W
Context info⌥+Q
Reformat code⌃+⌥+L
Optimize imports⌃+⌥+O
Auto-indent lines⌃+⌥+I
Indent selectionTab
Unindent selection⇧+Tab
Paste from history⌃+⇧+V
Duplicate line⌃+D
Delete line⌃+Y
Smart line join⌃+⇧+J
Smart line split⌃+Enter
Start new line⇧+Enter
Toggle case⌃+⇧+U
Select to code block end⌃+⇧+]
Select to code block start⌃+⇧+[
Delete to word end⌃+Delete
Delete to word start⌃+Backspace
Move line up⌥+⇧+↑
Move line down⌥+⇧+↓
Move statement up⌃+⇧+↑
Move statement down⌃+⇧+↓
Expand code block⌃++
Collapse code block⌃+-
Expand all⌃+⇧++
Collapse all⌃+⇧+-
Close active editor tab⌃+F4

Multi-Cursor

ActionShortcut
Add or remove caret⌥Click
Clone caret above⌥+⌥+↑
Clone caret below⌥+⌥+↓
Select all occurrences⌃+⌘+G
Select next occurrence⌃+G
Unselect occurrence⌃+⇧+G
Column selection mode⇧+⌘+8
Add or remove caret⌥Click
Clone caret above⌃+⌃+↑
Clone caret below⌃+⌃+↓
Select all occurrences⌃+⌥+⇧+J
Select next occurrence⌥+J
Unselect occurrence⌥+⇧+J
Column selection mode⌥+⇧+Insert

Navigation

ActionShortcut
Go to class⌘+O
Go to file⇧+⌘+O
Go to symbol⌥+⌘+O
Go to line⌘+L
Go to declaration⌘+B
Go to implementation⌥+⌘+B
Go to type declaration⇧+⌘+B
Go to super method⌘+U
Quick definition⌥+Space
Quick type definition⌃+⇧+P
Navigate back⌘+[
Navigate forward⌘+]
Last edit location⇧+⌘+⌫
Next errorF2
Previous error⇧+F2
Next highlighted error⌥+⌘+F2
Recent files⌘+E
Recent locations⇧+⌘+E
File structure⌘+F12
Type hierarchy⌃+H
Method hierarchy⇧+⌘+H
Call hierarchy⌃+⌥+H
Next method⌃+⇧+↓
Previous method⌃+⇧+↑
Go to matching brace⌃+M
Select in...⌥+F1
Jump to navigation bar⌘+↑
Go to class⌃+N
Go to file⌃+⇧+N
Go to symbol⌃+⌥+⇧+N
Go to line⌃+G
Go to declaration⌃+B
Go to implementation⌃+⌥+B
Go to type declaration⌃+⇧+B
Go to super method⌃+U
Quick definition⌃+⇧+I
Quick type definition⌃+⇧+P
Navigate back⌃+⌥+←
Navigate forward⌃+⌥+→
Last edit location⌃+⇧+Backspace
Next errorF2
Previous error⇧+F2
Next highlighted error⌃+⌥+F2
Recent files⌃+E
Recent locations⌃+⇧+E
File structure⌃+F12
Type hierarchy⌃+H
Method hierarchy⌃+⇧+H
Call hierarchy⌃+⌥+H
Next method⌥+↓
Previous method⌥+↑
Go to matching brace⌃+⇧+M
Select in...⌥+F1
Jump to navigation bar⌥+Home

Bookmarks

ActionShortcut
Toggle bookmarkF3
Toggle bookmark with mnemonic⌥+F3
Go to numbered bookmark⌃+0+9
Show bookmarks⌘+F3
Toggle bookmarkF11
Toggle bookmark with mnemonic⌃+F11
Go to numbered bookmark⌃+0+9
Show bookmarks⇧+F11

Refactoring

ActionShortcut
Rename⇧+F6
Change signature⌘+F6
Inline⌥+⌘+N
Extract method⌥+⌘+M
Extract variable⌥+⌘+V
Extract constant⌥+⌘+C
Extract field⌥+⌘+F
Extract parameter⌥+⌘+P
Safe delete⌘+Delete
CopyF5
MoveF6
Refactor this⌃+T
Rename⇧+F6
Change signature⌃+F6
Inline⌃+⌥+N
Extract method⌃+⌥+M
Extract variable⌃+⌥+V
Extract constant⌃+⌥+C
Extract field⌃+⌥+F
Extract parameter⌃+⌥+P
Safe delete⌥+Delete
CopyF5
MoveF6
Refactor this⌃+⌥+⇧+T

Running & Debugging

ActionShortcut
Run⌃+R
Run context configuration⌃+⇧+R
Debug⌃+D
Debug context configuration⌃+⇧+D
Stop⌘+F2
Step overF8
Step intoF7
Smart step into⇧+F7
Step out⇧+F8
Run to cursor⌥+F9
Evaluate expression⌥+F8
Resume program⌥+⌘+R
Toggle breakpoint⌘+F8
View breakpoints⇧+⌘+F8
Edit configurations⌥+⇧+F10
Run⇧+F10
Run context configuration⌃+⇧+F10
Debug⇧+F9
Debug context configuration⌃+⇧+F9
Stop⌃+F2
Step overF8
Step intoF7
Smart step into⇧+F7
Step out⇧+F8
Run to cursor⌥+F9
Evaluate expression⌥+F8
Resume programF9
Toggle breakpoint⌃+F8
View breakpoints⌃+⇧+F8
Edit configurations⌥+⇧+F10

Version Control

ActionShortcut
VCS operations popup⌃+V
Commit⌘+K
Update project⌘+T
Push⇧+⌘+K
Show diff⌘+D
Rollback⌥+⌘+Z
Show history⌃+Vthen4
Show history for selection⌃+Vthen5
Branches⌃+Vthen7
Annotate⌃+VthenA
Next change⌃+⌥+⇧+↓
Previous change⌃+⌥+⇧+↑
VCS operations popup⌥+`
Commit⌃+K
Update project⌃+T
Push⌃+⇧+K
Show diff⌃+D
Rollback⌃+⌥+Z
Show history⌥+`then4
Show history for selection⌥+`then5
Branches⌥+`then7
Annotate⌥+`thenA
Next change⌃+⌥+⇧+↓
Previous change⌃+⌥+⇧+↑

Tool Windows

ActionShortcut
Project⌘+1
Bookmarks⌘+2
Find⌘+3
Run⌘+4
Debug⌘+5
Problems⌘+6
Structure⌘+7
Services⌘+8
Version Control⌘+9
Commit⌘+0
Terminal⌥+F12
Hide all windows⇧+⌘+F12
Jump to last tool windowF12
Stretch to left⌃+⌥+←
Stretch to right⌃+⌥+→
Stretch to top⌃+⌥+↑
Stretch to bottom⌃+⌥+↓
Project⌥+1
Bookmarks⌥+2
Find⌥+3
Run⌥+4
Debug⌥+5
Problems⌥+6
Structure⌥+7
Services⌥+8
Version Control⌥+9
Commit⌥+0
Terminal⌥+F12
Hide all windows⌃+⇧+F12
Jump to last tool windowF12
Stretch to left⌃+⌥+⇧+←
Stretch to right⌃+⌥+⇧+→
Stretch to top⌃+⌥+⇧+↑
Stretch to bottom⌃+⌥+⇧+↓

Editor Tabs

ActionShortcut
Switch to previous tab⇧+⌘+[
Switch to next tab⇧+⌘+]
Close tab⌘+W
Close all tabs⌥+⌘+W
Reopen closed tab⇧+⌘+T
Switcher⌃+Tab
Go to tab 1-9⌃+1+9
Switch to previous tab⌥+←
Switch to next tab⌥+→
Close tab⌃+F4
Close all tabs⌃+⇧+F4
Reopen closed tab⌃+⇧+T
Switcher⌃+Tab
Go to tab 1-9⌥+1+9

Splits

ActionShortcut
Split vertically⌥+⌘+V
Split horizontally⌥+⌘+H
Move to opposite group⌥+⌘+]
Change splitter orientation⇧+⌘+L
Unsplit⌥+⌘+U
Unsplit all⌥+⌘+⇧+U
Go to next splitter⌥+Tab
Go to previous splitter⌥+⇧+Tab
Split vertically⌃+⌥+V
Split horizontally⌃+⌥+H
Move to opposite group⌃+⌥+]
Change splitter orientation⌃+⇧+L
Unsplit⌃+⌥+U
Unsplit all⌃+⌥+⇧+U
Go to next splitter⌥+Tab
Go to previous splitter⌥+⇧+Tab

General

ActionShortcut
Open settings⌘or
Open project structure⌘+;
Save all⌘+S
Synchronize⌥+⌘+Y
Toggle maximize editor⇧+⌘+F12
Toggle full screen⌃+⌘+F
Toggle presentation mode⌥+⌘+P
Toggle distraction-free mode⌥+⇧+⌘+F
Toggle Zen mode⌥+⇧+⌘+Z
Add to favorites⌥+⇧+F
New scratch file⇧+⌘+N
Open in new window⇧+↩
Open settings⌃+⌥+S
Open project structure⌃+⌥+⇧+S
Save all⌃+S
Synchronize⌃+⌥+Y
Toggle maximize editor⌃+⇧+F12
Toggle full screen⌃+⌥+F
Toggle presentation mode⌃+⌥+P
Toggle distraction-free mode⌃+⌥+⇧+F
Toggle Zen mode⌃+⌥+⇧+Z
Add to favorites⌥+⇧+F
New scratch file⌃+⌥+⇧+Insert
Open in new window⇧+Enter

AI Assistant

ActionShortcut
Open AI Assistant⌃+↩
Inline AI prompt⌥+↩
Chat with AI⇧+⌘+I
Explain code⌥+⇧+E
Generate documentation⌥+⇧+D
Generate tests⌥+⇧+T
Find problems⌥+⇧+P
Open AI Assistant⌃+Enter
Inline AI prompt⌥+Enter
Chat with AI⌃+⇧+I
Explain code⌥+⇧+E
Generate documentation⌥+⇧+D
Generate tests⌥+⇧+T
Find problems⌥+⇧+P

npm Scripts

ActionShortcut
Show npm scripts⇧+⇧thennpm
Run npm script⌃+⌃thenscript
Show npm scripts⇧+⇧thennpm
Run npm script⌃+⌃thenscript

TypeScript

ActionShortcut
TypeScript tool window⌥+0
Restart TypeScript service⌥+⇧+R
Compile TypeScript⇧+⌘+B
TypeScript tool window⌥+0
Restart TypeScript service⌥+⇧+R
Compile TypeScript⌃+⇧+B

Testing

ActionShortcut
Run tests in file⌃+⇧+R
Debug tests in file⌃+⇧+D
Run test at caret⌃+⇧+R
Rerun tests⌃+F5
Rerun failed tests⌃+⇧+F5
Toggle auto-test⌃+⌥+T
Run tests in file⌃+⇧+F10
Debug tests in file⌃+⇧+F9
Run test at caret⌃+⇧+F10
Rerun tests⌃+F5
Rerun failed tests⌃+⇧+F5
Toggle auto-test⌃+⌥+T

HTTP Client

ActionShortcut
Run HTTP request⌃+⇧+R
Run all requests in file⌃+⌥+R
Open HTTP request in browser⌥+⇧+B
Run HTTP request⌃+⇧+F10
Run all requests in file⌃+⌥+R
Open HTTP request in browser⌥+⇧+B