WebStorm: Editing Cheat Sheet

OS X KEYMAP

^SpaceBasic code completion
⌥ReturnShow intention actions and quick-fixes
⌘ + mouseover codeBrief Info
⌘PParameter info (within method call arguments)
^JQuick documentation lookup
^Return, ⌘N Generate code
⌘F1Show descriptions of error or warning at caret
⌥⌘TSurround with…(if..else, try..catch, for, etc.)
⌘/Comment/uncomment with line comment
⌘⇧/Comment/uncomment with block comment
⌘JInsert Live template
⇧▶|Unindent selected lines
▶|Indent selected lines
⌘DDuplicate current line or selected block
⌥▲Select successively increasing code blocks
⌥▼Decrease current selection to previous state
^⇧QContext Info
⌘DelDelete line at caret
⌥⌘LReformat code
⌥⌘IAuto-indent line(s)
⌘⇧VPaste from recent buffers…
⌘⇧JJoin lines
⌘EnterSplit lines
⇧EnterStart new line
⌘⇧UToggle case for word at caret or selected block
⌥⌘⇧]Select till code block end
⌥⇧⌘[Select till code block start
⌥⇧▲Move line up
⌥⇧▼Move line down
⌥DelDelete to word end
⌥ReturnDelete to word start
⌘+Expand code block
⌘-Collapse code block
⇧⌘+Expand all
⇧⌘-Collapse all
⌘WClose active editor tab

WINDOWS & LINUX KEYMAP

Ctrl + Space Basic code completion
Alt + Enter Show intention actions and quick-fixes
Ctrl + mouseover code Brief Info
Ctrl + P Parameter info (within method call arguments)
Ctrl + Q Quick documentation lookup
Alt + Insert Generate code
Ctrl + F1 Show descriptions of error or warning at caret
Ctrl + Alt + T Surround with…(if..else, try..catch, for, etc.)
Ctrl + / Comment/uncomment with line comment
Ctrl + Shift + / Comment/uncomment with block comment
Ctrl + J Insert Live template
Shift + Tab Unindent selected lines
Tab Indent selected lines
Ctrl + D Duplicate current line or selected block
Ctrl + W Select successively increasing code blocks
Ctrl + Shift + W Decrease current selection to previous state
Alt+ Q Context Info
Ctrl + Y Delete line at caret
Ctrl + Alt + L Reformat code
Ctrl + Alt + I Auto-indent line(s)
Ctrl + Shift + V Paste from recent buffers…
Ctrl + Shift + J Join lines
Ctrl + Enter Split lines
Shift + Enter Start new line
Ctrl + Shift + U Toggle case for word at caret or selected block
Ctrl + Shift + ] Select till code block end
Ctrl + Shift + [ Select till code block start
Alt + Shift + Up Move line up
Alt + Shift + DownMove line down
Ctrl + Delete Delete to word end
Ctrl + Backspace Delete to word start
Ctrl + NumPad+ Expand code block
Ctrl + NumPad- Collapse code block
Ctrl + Shift + NumPad+ Expand all
Ctrl + Shift + NumPad- Collapse all
Ctrl + F4Close active editor tab

WebStorm: Multiple carets and selections Cheat Sheet

OS X KEYMAP

⌥ + ClickAdd or remove caret
^⌘GSelect all occurrences
^GSelect next occurrence
^⇧GUnselect occurrence
EscUnselect all occurrences or carets

WINDOWS & LINUX KEYMAP

Alt + Click Add or remove caret
Shift + Ctrl + Alt + JSelect all occurrences
Alt + J Select next occurrence
Alt + Shift + J Unselect occurrence
Esc Unselect all occurrences or carets

WebStorm: Running Cheat Sheet

OS X KEYMAP

^⌥DSelect configuration and debug
^DDebug
^RRun
^⌥RSelect configuration and run
^⇧R, ^⇧DRun context configuration from editor
⌥F11Run Gulp/Grunt/npm task
^⌘RRerun tests

WINDOWS & LINUX KEYMAP

Alt + Shift + F9 Select configuration and debug
Shift + F9 Debug
Shift + F10 Run
Alt + Shift + F10 Select configuration and run
Ctrl + Shift + F10 Run context configuration from editor
Alt + F11 Run Gulp/Grunt/npm task
Alt + Shift + R Rerun tests

WebStorm: Debugging Cheat Sheet

OS X KEYMAP

F8Step over
F7Step into
⇧F7Smart step into
⇧F8Step out
⌥F9Run to cursor
⌥F8Evaluate expression
⌥⌘RResume program
⌘F8Toggle breakpoint
⇧⌘F8View breakpoints

WINDOWS & LINUX KEYMAP

F8Step over
F7 Step into
Shift + F7 Smart step into
Shift + F8 Step out
Alt + F9 Run to cursor
Alt + F8 Evaluate expression
F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl + Shift + F8 View breakpoints

WebStorm: Navigation Cheat Sheet

OS X KEYMAP

⌘B , ⌘ClickGo to declaration
⌘OGo to class
⇧⌘OGo to file
⌥⌘OGo to symbol
⇧⌘]Go to next editor tab
⇧⌘[Go to the previous editor tab
F12Go back to the previous tool window
EscGo to editor (from tool window)
⌘LGo to line
⌘ERecent files popup
⌥⌘▶Navigate forward
⌥⌘◀Navigate back
⌘⇧DelNavigate to last edit location
⌥F1Select current file or symbol in any view
⌥⌘BGo to implementation(s)
⌥Space, ⌘YOpen quick definition lookup
^⇧BGo to type declaration
⌘UGo to super-method/super-class
^▲Go to previous method
^▼Go to next method
⌥⌘] / ⌥⌘[Move to code block end/start
^MMove caret to matching brace
⌘F12File structure popup
^HType hierarchy
^⌥HCall hierarchy
F2 / ⇧F2Next/previous highlighted error
F4, ⌘▼Jump to source
⌘▲Jump to the navigation bar
F3Toggle bookmark
⌥F3Toggle bookmark with mnemonic
^0^9Go to numbered bookmark
⌘F3Show bookmarks

WINDOWS & LINUX KEYMAP

Ctrl + B , Ctrl + ClickGo to declaration
Ctrl + N Go to class
Ctrl + Shift + N Go to file
Ctrl + Alt + Shift + N Go to symbol
Alt + Right Go to next editor tab
Alt + Left Go to the previous editor tab
F12 Go back to the previous tool window
EscGo to editor (from tool window)
Ctrl + GGo to line
Ctrl + ERecent files popup
Ctrl + Alt + RightNavigate forward
Ctrl + Alt + LeftNavigate back
Ctrl + Shift + Backspace Navigate to last edit location
Alt + F1 Select current file or symbol in any view
Ctrl + Alt + B Go 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
Ctrl + Shift + MMove caret to matching brace
Ctrl + F12 File structure popup
Ctrl + HType hierarchy
Ctrl + Alt + HCall hierarchy
F2 / Shift + F2Next/previous highlighted error
F4, Ctrl + EnterJump to source
Alt + HomeJump to the navigation bar
F11Toggle bookmark
Ctrl + Shift + F11Toggle bookmark with mnemonic
Ctrl + #[0-9]Go to numbered bookmark
Shift + F11Show bookmarks

WebStorm: Search/Replace Cheat Sheet

DEFAULT OS X KEYMAP

⌘FFind
⌘GFind next
⇧⌘GFind previous
⇧⌘FFind in path
⌘RReplace
⇧⌘RReplace in path

DEFAULT WINDOWS & LINUX KEYMAP

Ctrl + F Find
F3Find next
Shift + F3Find previous
Ctrl + Shift + FFind in path
Ctrl + RReplace
Ctrl + Shift + RReplace in path

WebStorm: Usage Search Cheat Sheet

DEFAULT OSX KEYMAP

⌥F7Find usages
⌘F7Find usages in file
⇧⌘F7Highlight usages in file
⌥⌘F7Show usages

DEFAULT WINDOWS & LINUX KEYMAP

Alt + F7 Find usages
Ctrl + F7Find usages in file
Ctrl + Shift + F7Highlight usages in file
Ctrl + Alt + F7Show usages

WebStorm: Refactoring Cheat Sheet

DEFAULT OS X KEYMAP

^TRefactor this
F5/F6Copy / Move
⌘DelSafe Delete
⇧F6Rename
⌘F6Change function signature
⌥⌘NInline variable
⌥⌘VExtract Variable
⌥⌘CExtract Constant
⌥⌘PExtract Parameter

DEFAULT WINDOWS & LINUX KEYMAP

Ctrl + Alt + Shift +T Refactor 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

WebStorm: VCS/Local History Cheat Sheet

DEFAULT OS X KEYMAP

⌃V‘VCS’ quick popup
⌘KCommit project to VCS
⌘TUpdate project from VCS
⌥⇧CView recent changes

DEFAULT WINDOWS & LINUX KEYMAP

Alt + BackQuote (`) ‘VCS’ quick popup
Ctrl + KCommit project to VCS
Ctrl + TUpdate project from VCS
Alt + Shift + CView recent changes

WebStorm: General Cheat Sheet

OS X KEYMAP

Double ⇧ Search everywhere
⇧⌘A Find Action
⌘0 … ⌘9 Open corresponding tool window
⇧⌘F12 Toggle maximizing editor
⇧⌥FAdd to Favorites
⇧⌥I Inspect the current file with the current profile
⌃`Quick switch current scheme
⌘,Open Preferences

WINDOWS & LINUX KEYMAP

Double ShiftSearch everywhere
Ctrl + Shift + AFind Action
Alt + #[0-9]Open corresponding tool window
Ctrl + Shift + F12Toggle maximizing editor
Alt + Shift + FAdd to Favorites
Alt + Shift + IInspect current file with the current profile
Ctrl + BackQuote (`)Quick switch current scheme
Ctrl + Alt + SOpen Settings dialog
Ctrl + TabSwitch between tabs and tool window