Skip to content

WebStorm

WebStorm

This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or Mac

Webstorm Windows & Linux Keymap

Editing {.row-span-5}

shortcutdescription
Ctrl SpaceBasic code completion
Alt EnterShow intention actions, quick fixes
Ctrl PParameter info
Ctrl QQuick documentation lookup
Ctrl mouse overBrief Info
Ctrl F1Error or warning at caret
Alt InsertGenerate code…
Ctrl Alt TSurround with…
Ctrl JInsert Live template
Ctrl /Comment/uncomment with line
Ctrl Shift /Comment/uncomment with block
Ctrl WSelect successively increasing code blocks
Ctrl Shift WDecrease current selection to previous state
Alt+QContext Info
Ctrl Alt LReformat code
Ctrl Alt IAuto-indent line(s)
TabIndent selected lines
Shift TabUnindent selected lines
Ctrl Shift VPaste from recent buffers…
Ctrl DDuplicate current line or selected block
Ctrl YDelete line at caret
Alt Shift UpMove line up
Alt Shift DownMove line down
Ctrl Shift JJoin lines
Ctrl EnterSplit lines
Shift EnterStart new line
Ctrl Shift UToggle case for word at caret or selected block
Ctrl Shift ]Select till code block end
Ctrl Shift [Select till code block start
Ctrl DeleteDelete to word end
Ctrl BackspaceDelete to word start
Ctrl +Expand code block
Ctrl -Collapse code block
Ctrl Shift +Expand all
Ctrl Shift -Collapse all
Ctrl F4Close active editor tab

{.shortcuts}

General

shortcutdescription
Double ShiftSearch everywhere
Ctrl Shift AFind Action
Alt 0...9Open corresponding tool window
Ctrl Shift F12Toggle maximizing editor
Alt Shift FAdd to Favorites
Alt Shift IInspect current file
Ctrl `Quick switch current scheme
Ctrl Alt SOpen Settings dialog
Ctrl TabSwitch between tool and tabs

{.shortcuts}

shortcutdescription
Ctrl B | Ctrl + ClickGo to declaration
Ctrl NGo to class
Ctrl Shift NGo to file
Ctrl Alt Shift NGo to symbol
Alt RightGo to next editor tab
Alt LeftGo to previous editor tab
F12Go back to previous tool window
EscGo to editor
Ctrl GGo to line
Ctrl ERecent files popup
Ctrl Alt RightNavigate forward
Ctrl Alt LeftNavigate back
Ctrl Shift BackspaceNavigate to last edit location
Alt F1Select current file or symbol in any view
Ctrl Alt BGo to implementation(s)
Ctrl Shift IOpen quick definition lookup
Ctrl Shift BGo to type declaration
Ctrl UGo to super-method/super-class
Alt UpGo to previous method
Alt DownGo to next method
Ctrl ] / [Move to code block end/start
Cltrl Shift MMove caret to matching brace
Ctrl F12File structure popup
Ctrl HType hierarchy
Ctrl Alt HCall hierarchy
F2 / Shift F2Next/previous highlighted error
F4 / Ctrl EnterJump to source
Alt HomeJump to navigation bar
F11Toggle bookmark
Ctrl Shift F11Toggle bookmark with mnemonic
Ctrl 0...9Go to numbered bookmark
Shift F11Show bookmarks

{.shortcuts}

Multiple carets and selections

shortcutdescription
Alt ClickAdd or remove caret
Shift Ctrl + Alt-JSelect all occurrences
Alt JSelect next occurrence
Alt Shift JUnselect occurrence
EscUnselect all occurrences or carets

{.shortcuts}

Debugging

shortcutdescription
F8Step over
F7Step into
Shift F7Smart step into
Shift F8Step out
Alt F9Run to cursor
Alt F8Evaluate expression
F9Resume program
Ctrl F8Toggle breakpoint
Ctrl Shift F8View breakpoints

{.shortcuts}

Running

shortcutdescription
Alt Shift F10Select configuration and run
Alt Shift F9Select configuration and debug
Shift F10Run
Shift F9Debug
Ctrl Shift F10Run context configuration from editor
Alt Shift RRerun tests
Alt F11Run Gulp/Grunt/npm tasks

{.shortcuts}

shortcutdescription
Alt F7Find usages
Ctrl F7Find usages in file
Ctrl Shift F7Highlight usages in file
Ctrl Alt F7Show usages

{.shortcuts}

VCS/Local History

shortcutdescription
Alt `VCS quick popup
Ctrl KCommit project to VCS
Ctrl TUpdate project from VCS
Alt Shift CView recent changes

{.shortcuts}

Search/Replace

shortcutdescription
Ctrl FFind
F3Find next
Shift F3Find previous
Ctrl Shift FFind in path
Ctrl RReplace
Ctrl Shift RReplace in path

{.shortcuts}

Refactoring

shortcutdescription
Ctrl Alt Shift +TRefactor this
F5 / F6Copy / Move
Alt DeleteSafe Delete
Shift F6Rename
Ctrl F6Change function signature
Ctrl Alt NInline Variable
Ctrl Alt MExtract Method
Ctrl Alt VExtract Variable
Ctrl Alt CExtract Constant
Ctrl Alt PExtract Parameter

{.shortcuts}