This page is a complete keyboard shortcut reference for WebStorm on macOS, covering all 128 shortcuts organized into 10 sections. Whether you’re new to WebStorm or looking to master advanced features, this cheat sheet has every key combination you need — from basic editing and navigation to app-specific power-user actions.
Keyboard shortcuts are the fastest way to work in WebStorm. Every time you use a shortcut instead of reaching for the mouse, you save a few seconds — and those seconds compound into hours over weeks and months. Start with the shortcuts you use most (copy, paste, undo, save), then gradually add app-specific ones as they become relevant to your workflow. Bookmark this page or download the PDF cheat sheet for quick reference.
Using keyboard shortcuts in WebStorm reduces context switching between keyboard and mouse, helping you maintain focus and work more efficiently. Research shows that shortcut-driven workflows can save up to 8 working days per year compared to menu-driven navigation. On macOS, most WebStorm shortcuts follow standard conventions — once you learn the modifier key patterns, new shortcuts become intuitive.
Tips for Learning Shortcuts
- Practice one new WebStorm shortcut each day. Muscle memory builds faster when you focus on a single combination at a time rather than trying to learn them all at once.
- Print or bookmark this page for quick reference while working in WebStorm. Having shortcuts visible nearby helps bridge the gap between looking them up and recalling them from memory.
- Start with the shortcuts you use most. In WebStorm, common actions like copy, paste, undo, and save are worth learning first since they apply across nearly every workflow.
General9
| Action | Shortcut |
|---|---|
| Search Everywhere | ⇧⇧ |
| Find Action | ⌘⇧A |
| Run Anything | ⌃⌃ |
| Open Settings | ⌘, |
| Toggle Maximizing Editor | ⌘⇧F12 |
| Add to Favorites | ⌥⇧F |
| Inspect Current File | ⌥⇧I |
| Switch Between Tool and Tabs | ⌃Tab |
| Quick Switch Scheme | ⌘~ |
Editing35
| Action | Shortcut |
|---|---|
| Basic Code Completion | ⌃Space |
| Show Intention Actions / Quick Fixes | ⌥↩ |
| Parameter Info | ⌘P |
| shortcuts.webstorm.quickDocumentationLiveTemplate | ⌘J |
| Error or Warning at Caret | ⌘F1 |
| Generate Code | ⌥⌘N |
| Surround With | ⌥⌘T |
| Comment / Uncomment Line | ⌘/ |
| Comment / Uncomment Block | ⌘⇧/ |
| Select Increasing Code Blocks | ⌥↑ |
| Decrease Selection | ⌥↓ |
| Context Info | ⌥Q |
| Reformat Code | ⌘⌥L |
| Auto-Indent Lines | ⌘⌥I |
| Indent Selected Lines | Tab |
| Unindent Selected Lines | ⇧Tab |
| Paste From Recent Buffers | ⌘⇧V |
| Duplicate Line / Block | ⌘D |
| Delete Line at Caret | ⌘⌫ |
| Move Line Up | ⌥⇧↑ |
| Move Line Down | ⌥⇧↓ |
| Join Lines | ⌃⇧J |
| Split Lines | ⌘↩ |
| Start New Line | ⇧↩ |
| Toggle Case | ⌘⇧U |
| Select Till Code Block End | ⌘⇧] |
| Select Till Code Block Start | ⌘⇧[ |
| Delete to Word Start | ⌥⌫ |
| Delete to Word End | ⌥Delete |
| Expand Code Block | ⌘+ |
| Collapse Code Block | ⌘- |
| Expand All | ⌘⇧+ |
| Collapse All | ⌘⇧- |
| Close Active Editor Tab | ⌘W |
| Complete Statement | ⌘⇧↩ |
Search / Replace6
| Action | Shortcut |
|---|---|
| Find | ⌘F |
| Find Next | ⌘G |
| Find Previous | ⌘⇧G |
| Find in Path | ⌘⇧F |
| Replace | ⌘R |
| Replace in Path | ⌘⇧R |
Multiple Carets3
| Action | Shortcut |
|---|---|
| Select All Occurrences | ⌃⌘G |
| Select Next Occurrence | ⌃G |
| Unselect Occurrence | ⌃⇧G |
Refactoring10
| Action | Shortcut |
|---|---|
| Refactor This | ⌘⌥⇧T |
| Copy | F5 |
| Move | F6 |
| Rename | ⇧F6 |
| Change Function Signature | ⌘F6 |
| Inline Variable | ⌘⌥N |
| Extract Method | ⌘⌥M |
| Extract Variable | ⌘⌥V |
| Extract Constant | ⌘⌥C |
| Extract Parameter | ⌘⌥P |
Running / Debugging16
| Action | Shortcut |
|---|---|
| Select Configuration and Run | ⌥⇧F10 |
| Select Configuration and Debug | ⌥⇧F9 |
| Run | ⇧F10 |
| Debug | ⇧F9 |
| Run Context Configuration | ⌘⇧F10 |
| Rerun Tests | ⌥⇧R |
| Run Gulp / Grunt / npm Tasks | ⌥F11 |
| Step Over | F8 |
| Step Into | F7 |
| Smart Step Into | ⇧F7 |
| Step Out | ⇧F8 |
| Run to Cursor | ⌥F9 |
| Evaluate Expression | ⌥F8 |
| Resume Program | F9 |
| Toggle Breakpoint | ⌘F8 |
| View Breakpoints | ⌘⇧F8 |
Usage Search4
| Action | Shortcut |
|---|---|
| Find Usages | ⌥F7 |
| Find Usages in File | ⌘F7 |
| Highlight Usages in File | ⌘⇧F7 |
| Show Usages | ⌘⌥F7 |
VCS / Git4
| Action | Shortcut |
|---|---|
| VCS Quick Popup | ⌥~ |
| Commit | ⌘K |
| Update Project from VCS | ⌘T |
| View Recent Changes | ⌥⇧C |
Tool Windows11
| Action | Shortcut |
|---|---|
| Project | ⌘1 |
| Bookmarks | ⌘2 |
| Find | ⌘3 |
| Run | ⌘4 |
| Debug | ⌘5 |
| Problems | ⌘6 |
| Structure | ⌘7 |
| Services | ⌘8 |
| Version Control | ⌘9 |
| Commit | ⌘0 |
| Terminal | ⌥F12 |
Frequently Asked Questions
Access WebStorm shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.