WebStorm keyboard shortcuts

WebStorm is built for JavaScript and TypeScript work, with testing and debugging in the same window. Out of the box, its keys handle search and navigation, code completion, refactoring and generating code, files and tabs, and running, debugging, and version control.

Windows, macOS, Linux · 69 shortcuts

Search and navigation

Find files, actions, symbols, usages, recent documents, errors, and definitions throughout a WebStorm project.

ActionShortcuts
Search Everywhere
Windows / macOS / LinuxShift then Shift
Find and run an action
Windows / LinuxCtrl + Shift + A
macOSCmd + Shift + A
Open Run Anything
Windows / macOS / LinuxCtrl then Ctrl
Open recent files
Windows / LinuxCtrl + E
macOSCmd + E
Find in the current file
Windows / LinuxCtrl + F
macOSCmd + F
Replace in the current file
Windows / LinuxCtrl + R
macOSCmd + R
Find in files
Windows / LinuxCtrl + Shift + F
macOSCmd + Shift + F
Find usages
Windows / LinuxAlt + F7
macOSOption + F7
Go to declaration or definition
Windows / LinuxCtrl + B
macOSCmd + B
Go to a class
Windows / LinuxCtrl + N
macOSCmd + O
Go to a file
Windows / LinuxCtrl + Shift + N
macOSCmd + Shift + O
Go to a symbol
Windows / LinuxCtrl + Alt + Shift + N
macOSCmd + Option + O
Go to a type
Windows / LinuxCtrl + Shift + B
macOSCmd + Shift + B
Go to the next problem
Windows / macOS / LinuxF2
Go to the previous problem
Windows / macOS / LinuxShift + F2
Go to the last edit location
Windows / LinuxCtrl + Shift + Backspace
macOSCmd + Shift + Backspace
Open recent locations
Windows / LinuxCtrl + Shift + E
macOSCmd + Shift + E

Editing and completion

Complete code, apply context actions, format, comment, duplicate, delete, and move text in the WebStorm editor.

ActionShortcuts
Show code completion
Windows / macOS / LinuxCtrl + Space
Show context actions
Windows / LinuxAlt + Enter
macOSOption + Enter
Show parameter information
Windows / LinuxCtrl + P
macOSCmd + P
Show quick documentation
Windows / LinuxCtrl + Q
macOSCtrl + J
Extend the selection
Windows / LinuxCtrl + W
macOSOption + Up
Shrink the selection
Windows / LinuxCtrl + Shift + W
macOSOption + Down
Toggle a line comment
Windows / LinuxCtrl + /
macOSCmd + /
Toggle a block comment
Windows / LinuxCtrl + Shift + /
macOSOption + Cmd + /
Reformat code
Windows / LinuxCtrl + Alt + L
macOSCmd + Option + L
Duplicate the current line or selection
Windows / LinuxCtrl + D
macOSCmd + D
Delete the current line
Windows / LinuxCtrl + Y
macOSCmd + Backspace
Move a line or selection up
Windows / LinuxAlt + Shift + Up
macOSOption + Shift + Up
Move a line or selection down
Windows / LinuxAlt + Shift + Down
macOSOption + Shift + Down
Cut
Windows / LinuxCtrl + X
macOSCmd + X
Copy
Windows / LinuxCtrl + C
macOSCmd + C
Paste
Windows / LinuxCtrl + V
macOSCmd + V
Undo
Windows / LinuxCtrl + Z
macOSCmd + Z
Redo
Windows / LinuxCtrl + Shift + Z
macOSCmd + Shift + Z
Select all
Windows / LinuxCtrl + A
macOSCmd + A
Indent the current line
Windows / macOS / LinuxTab
Outdent the current line
Windows / macOS / LinuxShift + Tab

Refactoring and generation

Generate code, surround statements, rename symbols, delete safely, and extract common code constructs with WebStorm's refactoring commands.

ActionShortcuts
Generate code
Windows / LinuxAlt + Insert
macOSCmd + N
Surround with
Windows / LinuxCtrl + Alt + T
macOSCmd + Option + T
Insert a live template
Windows / LinuxCtrl + J
macOSCmd + J
Rename a symbol
Windows / macOS / LinuxShift + F6
Safe delete
Windows / LinuxAlt + Delete
macOSCmd + Delete
Extract a variable
Windows / LinuxCtrl + Alt + V
macOSCmd + Option + V
Extract a method
Windows / LinuxCtrl + Alt + M
macOSCmd + Option + M
Extract a constant
Windows / LinuxCtrl + Alt + C
macOSCmd + Option + C
Extract a field
Windows / LinuxCtrl + Alt + F
macOSCmd + Option + F
Override methods
Windows / macOS / LinuxCtrl + O
Implement methods
Windows / macOS / LinuxCtrl + I
Go to super method or class
Windows / LinuxCtrl + U
macOSCmd + U

Files, tabs, and windows

Save and close files, switch editor tabs, and open WebStorm tool windows.

ActionShortcuts
Save all
Windows / LinuxCtrl + S
macOSCmd + S
Close the active editor tab
Windows / LinuxCtrl + F4
macOSCmd + W
Go to the next tab
Windows / LinuxAlt + Right
macOSShift + Cmd + ]
Go to the previous tab
Windows / LinuxAlt + Left
macOSShift + Cmd + [
Open Settings
Windows / LinuxCtrl + Alt + S
macOSCmd + ,
Open the Project tool window
Windows / LinuxAlt + 1
macOSCmd + 1
Open the Terminal tool window
Windows / LinuxAlt + F12
macOSOption + F12
Open the Services tool window
Windows / LinuxAlt + 8
macOSCmd + 8

Run, debug, and version control

Run or debug configurations, step through code, manage breakpoints, and open WebStorm's version-control actions.

ActionShortcuts
Run the current configuration
Windows / LinuxShift + F10
macOSCtrl + R
Debug the current configuration
Windows / LinuxShift + F9
macOSCtrl + D
Step over
Windows / macOS / LinuxF8
Step into
Windows / macOS / LinuxF7
Step out
Windows / macOS / LinuxShift + F8
Evaluate an expression
Windows / LinuxAlt + F8
macOSOption + F8
Toggle a breakpoint
Windows / LinuxCtrl + F8
macOSCmd + F8
Open the Run Anything menu
Windows / macOS / LinuxDouble Ctrl
Open the VCS operations menu
Windows / LinuxAlt + `
macOSCtrl + V
Commit changes
Windows / LinuxCtrl + K
macOSCmd + K
Update the project
Windows / LinuxCtrl + T
macOSCmd + T

Source

official WebStorm keyboard shortcuts · Checked

Default WebStorm 2026.2 keymap. You can edit it or switch keymaps, and your keyboard layout or OS shortcuts can change some keys.

Make a printable WebStorm sheet