WebStorm Keyboard Shortcuts
A deep WebStorm shortcuts guide for JavaScript/TypeScript navigation, refactor, debugging, and Git.

Search & Navigation (Mac)
| Key / Code | Description |
|---|---|
| Shift + Shift | Search everywhere |
| Cmd + O | Go to class |
| Cmd + Shift + O | Go to file |
| Cmd + Option + O | Go to symbol |
| Cmd + E | Recent files |
Search & Navigation (Windows/Linux)
| Key / Code | Description |
|---|---|
| Shift + Shift | Search everywhere |
| Ctrl + N | Go to class |
| Ctrl + Shift + N | Go to file |
| Ctrl + Alt + Shift + N | Go to symbol |
| Ctrl + E | Recent files |
Editing
| Key / Code | Description |
|---|---|
| Cmd/Ctrl + / | Line comment |
| Cmd/Ctrl + Shift + / | Block comment |
| Option/Alt + Enter | Show intention actions |
| Cmd/Ctrl + Option/Alt + L | Reformat code |
| Cmd/Ctrl + D | Duplicate line/selection |
Refactor
| Key / Code | Description |
|---|---|
| Shift + F6 | Rename |
| Cmd/Ctrl + Option/Alt + V | Extract variable |
| Cmd/Ctrl + Option/Alt + M | Extract method |
| Cmd/Ctrl + Option/Alt + N | Inline |
Debugging
| Key / Code | Description |
|---|---|
| Ctrl + D (Mac) | Debug |
| Shift + F9 | Debug |
| F8 | Step over |
| F7 | Step into |
| Shift + F8 | Step out |
Git
| Key / Code | Description |
|---|---|
| Cmd/Ctrl + K | Commit |
| Cmd/Ctrl + T | Update project |
| Cmd/Ctrl + Shift + K | Push |
Pro Workflow
Loop: search → quick fix → refactor → format → commit.
Shift + Shift # search
Alt/Option + Enter # quick fix
Shift + F6 # rename
Cmd/Ctrl + Alt/Option + L # format
Cmd/Ctrl + K # commitKnowledge is power.