Skip to content

↑↓ moveEnter openEsc close

Comment with block comment in WebStorm

WebStorm 2025.2 · 46 shortcuts · checked Nov 2026 · Source: JetBrains docs

In WebStorm, press Option+Cmd+/ (Mac), Ctrl+Shift+/ (Windows, Linux).

What else uses Option+Cmd+/? · What else uses Ctrl+Shift+/?

More WebStorm shortcuts: editing

ActionMacWindowsLinux
Show intention actions and quick fixesOptionEnterAltEnterAltEnter
Basic completionCtrlSpaceCtrlSpaceCtrlSpace
Insert a live templateCmdJCtrlJCtrlJ
Surround with a templateOptionCmdJCtrlAltJCtrlAltJ
Reformat codeOptionCmdLCtrlAltLCtrlAltL
Optimize importsCtrlOptionOCtrlAltOCtrlAltO
Comment with line commentCmd/Ctrl/Ctrl/
Duplicate the lineCmdDCtrlDCtrlD
Delete the lineCmdBackspaceCtrlYCtrlY
Move the statement upShiftCmd↑CtrlShift↑CtrlShift↑

All 17 in editing · All 46 WebStorm shortcuts