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
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Step over | Step over | F8 |
F8 |
Yes | Source |
| Step into | Step into | F7 |
F7 |
Yes | Source |
| Smart step into | Smart step into | Shift+F7 |
Shift+F7 |
Yes | Source |
| Step out | Step out | Shift+F8 |
Shift+F8 |
Yes | Source |
| Run to cursor | Run to cursor | Alt+F9 |
Option+F9 |
Yes | Source |
| Evaluate expression | Evaluate expression | Alt+F8 |
Option+F8 |
Yes | Source |
| Resume program | Resume program | F9 |
F9 |
Yes | Source |
| Toggle breakpoint | Toggle breakpoint | Ctrl+F8 |
Cmd+F8 |
Yes | Source |
| View breakpoints | View breakpoints | Ctrl+Shift+F8 |
Cmd+Shift+F8 |
Yes | Source |
Editing
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Basic code completion | Basic code completion | Ctrl+Space |
Cmd+Space |
Yes | Source |
| Show intention actions and quick-fixes | Show intention actions and quick-fixes | Alt+Enter |
Option+Enter |
Yes | Source |
| Parameter info (within method call arguments) | Parameter info (within method call arguments) | Ctrl+P |
Cmd+P |
Yes | Source |
| Quick documentation lookup | Quick documentation lookup | Ctrl+Q |
Cmd+Q |
Yes | Source |
| + mouse over code Brief Info | + mouse over code Brief Info | Ctrl |
Cmd |
Yes | Source |
| Show descriptions of error or warning at caret | Show descriptions of error or warning at caret | Ctrl+F1 |
Cmd+F1 |
Yes | Source |
| Generate code | Generate code | Alt+Insert |
Option+Insert |
Yes | Source |
| Surround with(if..else, try..catch, for, etc.) | Surround with(if..else, try..catch, for, etc.) | Ctrl+Alt+T |
Cmd+Option+T |
Yes | Source |
| Insert Live template | Insert Live template | Ctrl+J |
Cmd+J |
Yes | Source |
| Comment/uncomment with line comment | Comment/uncomment with line comment | Ctrl |
Cmd |
Yes | Source |
| Comment/uncomment with block comment | Comment/uncomment with block comment | Ctrl+Shift |
Cmd+Shift |
Yes | Source |
| Select successively increasing code blocks | Select successively increasing code blocks | Ctrl+W |
Cmd+W |
Yes | Source |
| Decrease current selection to previous state | Decrease current selection to previous state | Ctrl+Shift+W |
Cmd+Shift+W |
Yes | Source |
| Context Info | Context Info | Alt+Q |
Option+Q |
Yes | Source |
| Reformat code | Reformat code | Ctrl+Alt+L |
Cmd+Option+L |
Yes | Source |
| Auto-indent line(s) | Auto-indent line(s) | Ctrl+Alt+I |
Cmd+Option+I |
Yes | Source |
| Indent selected lines | Indent selected lines | Tab |
Tab |
Yes | Source |
| Unindent selected lines | Unindent selected lines | Shift+Tab |
Shift+Tab |
Yes | Source |
| Paste from recent buffers | Paste from recent buffers | Ctrl+Shift+V |
Cmd+Shift+V |
Yes | Source |
| Duplicate current line or selected block | Duplicate current line or selected block | Ctrl+D |
Cmd+D |
Yes | Source |
| Delete line at caret | Delete line at caret | Ctrl+Y |
Cmd+Y |
Yes | Source |
| Move line up | Move line up | Alt+Shift+Up |
Option+Shift+Up |
Yes | Source |
| Move line down | Move line down | Alt+Shift+Down |
Option+Shift+Down |
Yes | Source |
| Join lines | Join lines | Ctrl+Shift+J |
Cmd+Shift+J |
Yes | Source |
| Split lines | Split lines | Ctrl+Enter |
Cmd+Enter |
Yes | Source |
| Start new line | Start new line | Shift+Enter |
Shift+Enter |
Yes | Source |
| Toggle case for word at caret or selected | Toggle case for word at caret or selected | Ctrl+Shift+U |
Cmd+Shift+U |
Yes | Source |
| Select till code block end | Select till code block end | Ctrl+Shift+] |
Cmd+Shift+] |
Yes | Source |
| Select till code block start | Select till code block start | Ctrl+Shift+[ |
Cmd+Shift+[ |
Yes | Source |
| Delete to word end | Delete to word end | Ctrl+Delete |
Cmd+Delete |
Yes | Source |
| Delete to word start | Delete to word start | Ctrl+Backspace |
Cmd+Backspace |
Yes | Source |
| + NumPad+ Expand code block | + NumPad+ Expand code block | Ctrl |
Cmd |
Yes | Source |
| + NumPad- Collapse code block | + NumPad- Collapse code block | Ctrl |
Cmd |
Yes | Source |
| + NumPad+ Expand all | + NumPad+ Expand all | Ctrl+Shift |
Cmd+Shift |
Yes | Source |
| + NumPad- Collapse all | + NumPad- Collapse all | Ctrl+Shift |
Cmd+Shift |
Yes | Source |
| Close active editor tab | Close active editor tab | Ctrl+F4 |
Cmd+F4 |
Yes | Source |
General
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Shift Search everywhere | Shift Search everywhere | Shift |
Shift |
Yes | Source |
| Find Action | Find Action | Ctrl+Shift+A |
Cmd+Shift+A |
Yes | Source |
| + #[0-9] Open corresponding tool window | + #[0-9] Open corresponding tool window | Alt |
Option |
Yes | Source |
| Toggle maximizing editor | Toggle maximizing editor | Ctrl+Shift+F12 |
Cmd+Shift+F12 |
Yes | Source |
| Add to Favorites | Add to Favorites | Alt+Shift+F |
Option+Shift+F |
Yes | Source |
| Inspect current file with current profile | Inspect current file with current profile | Alt+Shift+I |
Option+Shift+I |
Yes | Source |
| (`) Quick switch current scheme | (`) Quick switch current scheme | Ctrl+` |
Cmd+` |
Yes | Source |
| Open Settings dialog | Open Settings dialog | Ctrl+Alt+S |
Cmd+Option+S |
Yes | Source |
| Switch between tabs and tool window | Switch between tabs and tool window | Ctrl+Tab |
Cmd+Tab |
Yes | Source |
Multiple carets and selections
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Add or remove caret | Add or remove caret | Alt+Click |
Option+Click |
Yes | Source |
| Select all occurrences | Select all occurrences | Shift+Ctrl+Alt+J |
Shift+Cmd+Option+J |
Yes | Source |
| Select next occurrence | Select next occurrence | Alt+J |
Option+J |
Yes | Source |
| Unselect occurrence | Unselect occurrence | Alt+Shift+J |
Option+Shift+J |
Yes | Source |
| Unselect all occurrences or carets jetbrains.com/webstormblog.jetbrains.com/webstorm@WebStormIDE | Unselect all occurrences or carets jetbrains.com/webstormblog.jetbrains.com/webstorm@WebStormIDE | Escape |
Escape |
Yes | Source |
Navigation
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Go to declaration | Go to declaration | Ctrl+B |
Cmd+B |
Yes | Source |
| Go to class | Go to class | Ctrl+N |
Cmd+N |
Yes | Source |
| Go to file | Go to file | Ctrl+Shift+N |
Cmd+Shift+N |
Yes | Source |
| Go to symbol | Go to symbol | Ctrl+Alt+Shift+N |
Cmd+Option+Shift+N |
Yes | Source |
| Go to next editor tab | Go to next editor tab | Alt+Right |
Option+Right |
Yes | Source |
| Go to previous editor tab | Go to previous editor tab | Alt+Left |
Option+Left |
Yes | Source |
| Go back to previous tool window | Go back to previous tool window | F12 |
F12 |
Yes | Source |
| Go to editor (from tool window) | Go to editor (from tool window) | Escape |
Escape |
Yes | Source |
| Go to line | Go to line | Ctrl+G |
Cmd+G |
Yes | Source |
| Recent files popup | Recent files popup | Ctrl+E |
Cmd+E |
Yes | Source |
| Navigate forward | Navigate forward | Ctrl+Alt+Right |
Cmd+Option+Right |
Yes | Source |
| Navigate back | Navigate back | Ctrl+Alt+Left |
Cmd+Option+Left |
Yes | Source |
| Navigate to last edit location | Navigate to last edit location | Ctrl+Shift+Backspace |
Cmd+Shift+Backspace |
Yes | Source |
| Select current file or symbol in any view | Select current file or symbol in any view | Alt+F1 |
Option+F1 |
Yes | Source |
| Go to implementation(s) | Go to implementation(s) | Ctrl+Alt+B |
Cmd+Option+B |
Yes | Source |
| Open quick definition lookup | Open quick definition lookup | Ctrl+Shift+I |
Cmd+Shift+I |
Yes | Source |
| Go to type declaration | Go to type declaration | Ctrl+Shift+B |
Cmd+Shift+B |
Yes | Source |
| Go to super-method/super-class | Go to super-method/super-class | Ctrl+U |
Cmd+U |
Yes | Source |
| Go to previous method | Go to previous method | Alt+Up |
Option+Up |
Yes | Source |
| Go to next method | Go to next method | Alt+Down |
Option+Down |
Yes | Source |
| / [ Move to code block end/start | / [ Move to code block end/start | Ctrl+] |
Cmd+] |
Yes | Source |
| File structure popup | File structure popup | Ctrl+F12 |
Cmd+F12 |
Yes | Source |
| Type hierarchy | Type hierarchy | Ctrl+H |
Cmd+H |
Yes | Source |
| Call hierarchy | Call hierarchy | Ctrl+Alt+H |
Cmd+Option+H |
Yes | Source |
| / Shift + F2 Next/previous highlighted error | / Shift + F2 Next/previous highlighted error | F2 |
F2 |
Yes | Source |
| Jump to source | Jump to source | F4 |
F4 |
Yes | Source |
| Jump to navigation bar | Jump to navigation bar | Alt+Home |
Option+Home |
Yes | Source |
| Toggle bookmark | Toggle bookmark | F11 |
F11 |
Yes | Source |
| Toggle bookmark with mnemonic | Toggle bookmark with mnemonic | Ctrl+Shift+F11 |
Cmd+Shift+F11 |
Yes | Source |
| + #[0-9] Go to numbered bookmark | + #[0-9] Go to numbered bookmark | Ctrl |
Cmd |
Yes | Source |
| Show bookmarks | Show bookmarks | Shift+F11 |
Shift+F11 |
Yes | Source |
Refactoring
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Refactor this | Refactor this | Ctrl+Alt+Shift+T |
Cmd+Option+Shift+T |
Yes | Source |
| / F6 Copy / Move | / F6 Copy / Move | F5 |
F5 |
Yes | Source |
| Safe Delete | Safe Delete | Alt+Delete |
Option+Delete |
Yes | Source |
| Rename | Rename | Shift+F6 |
Shift+F6 |
Yes | Source |
| Change function signature | Change function signature | Ctrl+F6 |
Cmd+F6 |
Yes | Source |
| Inline Variable | Inline Variable | Ctrl+Alt+N |
Cmd+Option+N |
Yes | Source |
| Extract Method | Extract Method | Ctrl+Alt+M |
Cmd+Option+M |
Yes | Source |
| Extract Variable | Extract Variable | Ctrl+Alt+V |
Cmd+Option+V |
Yes | Source |
| Extract Constant | Extract Constant | Ctrl+Alt+C |
Cmd+Option+C |
Yes | Source |
| Extract Parameter | Extract Parameter | Ctrl+Alt+P |
Cmd+Option+P |
Yes | Source |
Running
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Select configuration and run | Select configuration and run | Alt+Shift+F10 |
Option+Shift+F10 |
Yes | Source |
| Select configuration and debug | Select configuration and debug | Alt+Shift+F9 |
Option+Shift+F9 |
Yes | Source |
| Run | Run | Shift+F10 |
Shift+F10 |
Yes | Source |
| Debug | Debug | Shift+F9 |
Shift+F9 |
Yes | Source |
| Run context configuration from editor | Run context configuration from editor | Ctrl+Shift+F10 |
Cmd+Shift+F10 |
Yes | Source |
| Rerun tests | Rerun tests | Alt+Shift+R |
Option+Shift+R |
Yes | Source |
| Run Gulp/Grunt/npm tasks | Run Gulp/Grunt/npm tasks | Alt+F11 |
Option+F11 |
Yes | Source |
Search/Replace
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Find | Find | Ctrl+F |
Cmd+F |
Yes | Source |
| Find next | Find next | F3 |
F3 |
Yes | Source |
| Find previous | Find previous | Shift+F3 |
Shift+F3 |
Yes | Source |
| Find in path | Find in path | Ctrl+Shift+F |
Cmd+Shift+F |
Yes | Source |
| Replace | Replace | Ctrl+R |
Cmd+R |
Yes | Source |
| Replace in path | Replace in path | Ctrl+Shift+R |
Cmd+Shift+R |
Yes | Source |
Usage Search
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| Find usages | Find usages | Alt+F7 |
Option+F7 |
Yes | Source |
| Find usages in file | Find usages in file | Ctrl+F7 |
Cmd+F7 |
Yes | Source |
| Highlight usages in file | Highlight usages in file | Ctrl+Shift+F7 |
Cmd+Shift+F7 |
Yes | Source |
| Show usages | Show usages | Ctrl+Alt+F7 |
Cmd+Option+F7 |
Yes | Source |
VCS/Local History
| Action | Description | Windows | Mac | Verified | Source |
|---|---|---|---|---|---|
| (`) ‘VCS’ quick popup | (`) ‘VCS’ quick popup | Alt+` |
Option+` |
Yes | Source |
| Commit project to VCS | Commit project to VCS | Ctrl+K |
Cmd+K |
Yes | Source |
| Update project from VCS | Update project from VCS | Ctrl+T |
Cmd+T |
Yes | Source |
| View recent changes | View recent changes | Alt+Shift+C |
Option+Shift+C |
Yes | Source |