WebStorm Shortcuts

To learn more about shortcuts…

  • see the reference for a comprehensive list
  • select Help > Keymap Reference from the menu in the editor

Note that the following shortcuts are for MAC only

Shortcuts

In no particular order, a list of WebStorm shortcuts that I use most often…

CommandShortcut
Navigate to last edit locationShift + Cmd + Backspace
Duplicate line or selectionCmd + D
Move statement up/downShift + Cmd + Up / Down
Page up/downFn + Up / Down
Toggle caseShift + Cmd + U
Toggle distraction free modeCtrl + Cmd + F
Show file in Project ViewOpt + F1

Select Project View from the context menu
Optimise ImportsCtrl + Opt + O
Find fileShift + Cmd + O
Show file structureCmd + F12
Show intention actionsOpt + Enter
Delete lineCmd + Backspace
Comment lineCmd + /
File switcherCtrl + Tab
Recent filesCmd + E
Multiple cursorsCtrl + G
Select wordOpt + Up

Note this is the Extend Selection shortcut, if you hold Opt and repeat the Up key press the selected text will extend.