JetBrains WebStorm (macOS) keyboard shortcuts

JetBrains WebStorm (macOS)

Zeynel Abidin Öztürk -
3 months ago
- Shortcuts

These are most used shortcuts of WebStorm. The complete list can be found under File menu > Settings > Keymap.

↑   Shift + ⌘ Cmd + A

Find Action. This command allows you to search in all commands and settings

Another way to learn shortcuts is to useΒ Key Promoter X plugin. This plugin shows a popup with corresponding hotkey when you execute a command with the mouse.
Control + Space

Basic code completion

βŒ₯ Option + • Enter

Show intention actions and quick-fixes

⌘ Cmd + P

Parameter info (within method call arguments)

Control + J

Quick documentation lookup

⌘ Cmd +

(mouse over code) Brief Info

⌘ Cmd + F1

Show descriptions of error or warning at caret

⌘ Cmd + • Enter

Generate code...

or ⌘ Cmd + N
βŒ₯ Option + ⌘ Cmd + T

Surround with...(if..else, try..catch, for, etc.)

⌘ Cmd + J

Insert Live template

⌘ Cmd + /

Comment/uncomment with line comment

⌘ Cmd + ↑   Shift + /

Comment/uncomment with block comment

βŒ₯ Option + ↑

Select successively increasing code blocks

βŒ₯ Option + ↓

Decrease current selection to previous state

↑   Shift + ⌘ Cmd + Q

Context Info

βŒ₯ Option + ⌘ Cmd + L

Reformat code

βŒ₯ Option + ⌘ Cmd + I

Auto-indent line(s)

β­Ύ Tab

Indent selected lines

↑   Shift + β­Ύ Tab

Unindent selected lines

↑   Shift + ⌘ Cmd + V

Paste from recent buffers...

⌘ Cmd + D

Duplicate current line or selected block

⌘ Cmd + β¬… Backspace

Delete line at caret

βŒ₯ Option + ↑   Shift + ↑

Move line up

βŒ₯ Option + ↑   Shift + ↓

Move line down

↑   Shift + ⌘ Cmd + J

Join lines

⌘ Cmd + • Enter

Split lines

↑   Shift + • Enter

Start new line

↑   Shift + ⌘ Cmd + U

Toggle case for word at caret or selected block

βŒ₯ Option + ⌘ Cmd + ↑   Shift + ]

Select till code block end

βŒ₯ Option + ⌘ Cmd + ↑   Shift + [

Select till code block start

βŒ₯ Option + Del

Delete to word end

βŒ₯ Option + β¬… Backspace

Delete to word start

⌘ Cmd + +

Expand code block

⌘ Cmd + -

Collapse code block

↑   Shift + ⌘ Cmd + +

Expand all

↑   Shift + ⌘ Cmd + -

Collapse all

⌘ Cmd + W

Close active editor tab

βŒ₯ Option +

Add or remove caret

⌘ Cmd + Control + G

Select all occurrences

Control + G

Select next occurrence

Control + ↑   Shift + G

Unselect occurrence

Esc

Unselect all occurrences or carets

Control + βŒ₯ Option + R

Select configuration and run

Control + βŒ₯ Option + D

Select configuration and debug

Control + R

Run

or Control + D
↑   Shift + F9

Debug

↑   Shift + Control + R

Run context configuration from editor

or Control + ↑   Shift + D
↑   Shift + Control + R

Rerun tests

βŒ₯ Option + F11

Run Gulp/Grunt/npm tasks

F8

Step over

F7

Step into

↑   Shift + F7

Smart step into

↑   Shift + F8

Step out

βŒ₯ Option + F9

Run to cursor

βŒ₯ Option + F8

Evaluate expression

βŒ₯ Option + ⌘ Cmd + R

Resume program

⌘ Cmd + F8

Toggle breakpoint

↑   Shift + βŒ₯ Option + F8

View breakpoints

⌘ Cmd + B

Go to declaration

or ⌘ Cmd +
⌘ Cmd + O

Go to class

⌘ Cmd + ↑   Shift + O

Go to file

⌘ Cmd + βŒ₯ Option + O

Go to symbol

↑   Shift + βŒ₯ Option + ]

Go to next editor tab

↑   Shift + βŒ₯ Option + [

Go to previous editor tab

F12

Go back to previous tool window

Esc

Go to editor (from tool window)

⌘ Cmd + L

Go to line

⌘ Cmd + E

Recent files popup

βŒ₯ Option + ⌘ Cmd + ←

Navigate forward

βŒ₯ Option + ⌘ Cmd + β†’

Navigate back

⌘ Cmd + ↑   Shift + β¬… Backspace

Navigate to last edit location

βŒ₯ Option + F1

Select current file or symbol in any view

⌘ Cmd + βŒ₯ Option + B

Go to implementation(s)

βŒ₯ Option + Space

Open quick definition lookup

or βŒ₯ Option + Y
Control + ↑   Shift + B

Go to type declaration

⌘ Cmd + U

Go to super-method/super-class

Control + ↑

Go to previous method

Control + ↓

Go to next method

βŒ₯ Option + ⌘ Cmd + ]

Move to code block end

βŒ₯ Option + ⌘ Cmd + [

Move to code block start

Control + M

Move caret to matching brace

⌘ Cmd + F12

File structure popup

Control + H

Type hierarchy

Control + βŒ₯ Option + H

Call hierarchy

F2

Next highlighted error

↑   Shift + F2

Previous highlighted error

F4

Jump to source

or ⌘ Cmd + ↓
⌘ Cmd + ↑

Jump to navigation bar

F3

Toggle bookmark

βŒ₯ Option + F3

Toggle bookmark with mnemonic

Control + 0 - 9

Go to numbered bookmark

⌘ Cmd + F3

Show bookmarks

βŒ₯ Option + F7

Find usages

⌘ Cmd + F7

Find usages in file

⌘ Cmd + ↑   Shift + F7

Highlight usages in file

βŒ₯ Option + ⌘ Cmd + F7

Show usages

Control + T

Refactor this

F5

Copy

F6

Move

βŒ₯ Option + Del

Safe Delete

↑   Shift + F6

Rename

⌘ Cmd + F6

Change function signature

βŒ₯ Option + ⌘ Cmd + N

Inline Variable

βŒ₯ Option + ⌘ Cmd + V

Extract Variable

βŒ₯ Option + ⌘ Cmd + C

Extract Constant

βŒ₯ Option + ⌘ Cmd + P

Extract Parameter

Control + V

β€˜VCS’ quick popup

⌘ Cmd + K

Commit project to VCS

⌘ Cmd + T

Update project from VCS

βŒ₯ Option + ↑   Shift + C

View recent changes

↑   Shift then ↑   Shift

Search everywhere

↑   Shift + ⌘ Cmd + A

Find Action

βŒ₯ Option + 0 - 9

Open corresponding tool window

⌘ Cmd + ↑   Shift + F12

Toggle maximizing editor

↑   Shift + βŒ₯ Option + F

Add to Favorites

↑   Shift + βŒ₯ Option + I

Inspect current file with current profile

Control + `

Quick switch current scheme

or Control + Β§
⌘ Cmd + ,

Open Preferences dialog

Control + β­Ύ Tab

Switch between tabs and tool window


Share this page on:

Program information

Program name: JetBrains WebStorm (macOS) JetBrains WebStorm (macOS) (Developer tools)

WebStorm is a cross-platform integrated development environment (IDE) mainly for JavaScript and TypeScript development.

Web page: jetbrains.com/webstorm

Last update: 11 Nov 2019

Shortcut count: 132

How easy to press shortcuts: 76%

Platform detected: macOS

Similar programs


  1. Grand Theft Auto VGrand Theft Auto V
    79316   
  2. Keyboard symbolsKeyboard symbols
    58416    1
  3. The Sims 4The Sims 4
    43200    3
  4. Apex Legends (PC)Apex Legends (PC)
    42780   
  5. Euro Truck Simulator 2Euro Truck Simulator 2
    39982   
  6. DiscordDiscord
    38943   
More keyboard shortcuts...

Advertisement

Join our mailing list!

Your email is kept private and we don't spam.