WebStorm keyboard shortcuts for Mac
46 default WebStorm shortcuts on Mac, grouped by task.
46 shortcuts
Keys:
Search and navigation
14 shortcuts| Action | Keys |
|---|---|
| Search everywhere | Shift,Shift |
| Find an action | ShiftCmdA |
| Go to a file | ShiftCmdO |
| Go to a symbol | OptionCmdO |
| Recent files | CmdE |
| Recent locations | ShiftCmdE |
| Go to the declaration | CmdB |
| Find usages | OptionF7 |
| File structure | CmdF12 |
| Go to a line | CmdL |
| Back | Cmd[ |
| Next error | F2 |
| Previous error | ShiftF2 |
| Find in files | ShiftCmdF |
Editing
17 shortcuts| Action | Keys |
|---|---|
| Show intention actions and quick fixes | OptionEnter |
| Basic completion | CtrlSpace |
| Insert a live template | CmdJ |
| Surround with a template | OptionCmdJ |
| Reformat code | OptionCmdL |
| Optimize imports | CtrlOptionO |
| Comment with line comment | Cmd/ |
| Comment with block comment | OptionCmd/ |
| Duplicate the line | CmdD |
| Delete the line | CmdBackspace |
| Move the statement up | ShiftCmd↑ |
| Move the statement down | ShiftCmd↓ |
| Extend the selection | Option↑ |
| Add the next occurrence | CtrlG |
| Parameter info | CmdP |
| Quick documentation | F1 |
| Join lines | CtrlShiftJ |
Refactoring
5 shortcuts| Action | Keys |
|---|---|
| Rename | ShiftF6 |
| Extract variable | OptionCmdV |
| Extract function | OptionCmdM |
| Inline | OptionCmdN |
| Refactor this | CtrlT |
Run and tools
10 shortcuts| Action | Keys |
|---|---|
| Run the current file | CtrlShiftR |
| Run the last configuration | CtrlR |
| Debug the last configuration | CtrlD |
| Toggle a breakpoint | CmdF8 |
| Step overDebugging | F8 |
| Step intoDebugging | F7 |
| Terminal | OptionF12 |
| Project tool window | Cmd1 |
| Commit | CmdK |
| Settings | Cmd, |
No shortcuts match. Try fewer words, the key names only, or search every app.
These are the default WebStorm key bindings on Mac, from JetBrains's official list for version 2025.2. Shortcuts that exist only on another system are left out here; the all-systems view shows every binding side by side.
Other systems: WebStorm shortcuts for Windows, WebStorm shortcuts for Linux. Or print the WebStorm cheat sheet.