WebStorm Keyboard Shortcut Keys: Complete List (With Functions Explained)

WebStorm is JetBrains' JavaScript and TypeScript IDE — the full JetBrains shortcut platform, tuned for front-end work with npm, frameworks and JSX/TSX. This complete list of WebStorm keyboard shortcut keys (Windows/Linux keymap) explains navigation, JS/TS editing, running and debugging in plain words.

Search and Navigation Shortcuts

Shortcut KeyFunction
Shift, Shift (double Shift)Search Everywhere (files, components, symbols, actions)
Ctrl + Shift + AFind Action
Ctrl + NGo to Class (components and classes)
Ctrl + Shift + NGo to File
Ctrl + Alt + Shift + NGo to Symbol (functions, variables, exports)
Ctrl + ERecent Files popup
Ctrl + BGo to Declaration (of a component, function or import)
Ctrl + Alt + BGo to Implementation
Ctrl + Alt + Left / RightNavigate back / forward
Ctrl + GGo to a line number
Ctrl + F12File Structure popup
Alt + F7Find Usages
Alt + Up / Down ArrowPrevious / next function or method
Ctrl + [ / ]Move to the block start / end
Ctrl + TabSwitcher between files and tool windows
Alt + F1Select the current file in a view (Project, structure…)

JavaScript / TypeScript Editing Shortcuts

Shortcut KeyFunction
Ctrl + SpaceCode completion
Ctrl + Shift + SpaceSmart completion
Ctrl + Shift + EnterComplete the statement
Alt + EnterShow intention actions (import a component, fix a lint error, convert to async…)
Ctrl + PParameter info
Ctrl + QQuick documentation (JSDoc/TSDoc)
Ctrl + /Comment with // (line comment)
Ctrl + Shift + /Comment with a /* */ block comment
Ctrl + DDuplicate the line or selection
Ctrl + YDelete the line
Ctrl + W / Ctrl + Shift + WExtend / shrink the selection
Shift + F6Rename (component, prop, variable — including JSX tags and imports)
Ctrl + Alt + Shift + TRefactor This menu
Ctrl + Alt + MExtract Method/Function
Ctrl + Alt + VExtract Variable (const)
Ctrl + Alt + PExtract Parameter
Ctrl + Alt + NInline
Ctrl + Alt + LReformat code (Prettier if configured)
Ctrl + Alt + OOptimize imports (sort and drop unused)
Ctrl + Shift + JJoin lines
Ctrl + Shift + UToggle case
Alt + Shift + clickAdd carets / column editing

Run, Debug and Tools Shortcuts

Shortcut KeyFunction
Shift + F10Run the selected configuration (npm script, Node app, test)
Shift + F9Debug the selected configuration
Ctrl + Shift + F10Run the current context (the test or file under the caret)
Alt + Shift + F10 / F9Choose a configuration to run / debug
Ctrl + F5Rerun
Ctrl + F2Stop
Alt + F12Open the Terminal
F8 / F7 / Shift + F8Step over / into / out (debugging)
Alt + F9Run to the cursor
Alt + F8Evaluate an expression
F9Resume
Ctrl + F8Toggle a breakpoint
Ctrl + Shift + F8View breakpoints
Ctrl + FFind in the file
Ctrl + RReplace in the file
Ctrl + Shift + F / RFind / Replace in Path
Ctrl + KCommit (Git)
Ctrl + TUpdate from Git
Ctrl + Shift + KPush
Alt + ` (accent)Git/VCS operations popup
Ctrl + Alt + SOpen Settings
Ctrl + Shift + F12Maximize the editor
EscFocus the editor

Tips for WebStorm Users

Alt + Enter is the front-end fixer: it imports components, repairs ESLint/TS errors and converts functions — press it on every red squiggle before Googling. Rename (Shift + F6) understands JSX: renaming a component rewrites its tags and import statements across the project. And when code style fights start, Ctrl + Alt + L with Prettier configured ends them — one chord and the whole file matches the team's format.

Frequently Asked Questions

How do I auto-import a component in WebStorm?

Put the caret on the unresolved component name and press Alt + Enter, then choose the import action — WebStorm adds the correct import statement.

How do I run an npm script in WebStorm?

Create or open the npm run configuration and press Shift + F10, or right-click the script in package.json and run it once so it becomes the active configuration.

How do I format code with Prettier in WebStorm?

Configure Prettier in Settings (Languages & Frameworks → JavaScript → Prettier), then press Ctrl + Alt + L to reformat the file with it.

How do I rename a React component everywhere?

Press Shift + F6 on the component name — WebStorm renames the definition, all JSX usages, imports and file references consistently.

By Umar Farooq, Tech Know.

Post a Comment

0 Comments