Catalog / WebStorm IDE Shortcuts Cheatsheet

WebStorm IDE Shortcuts Cheatsheet

A handy cheat sheet covering essential WebStorm shortcuts to boost your productivity. This guide includes shortcuts for navigation, editing, refactoring, and more.

Navigation

Basic Navigation

Ctrl+N / Cmd+O

Find Class

Ctrl+Shift+N / Cmd+Shift+O

Find File

Ctrl+Alt+Shift+N / Cmd+Option+Shift+O

Find Symbol

Double Shift

Search Everywhere

Ctrl+Shift+F / Cmd+Shift+F

Find in Path

Ctrl+B / Cmd+B

Go to Declaration

Ctrl+Alt+B / Cmd+Option+B

Go to Implementation(s)

Ctrl+U / Cmd+U

Go to Super-method/Super-class

Recent Locations

Ctrl+E / Cmd+E

Recent Files

Ctrl+Shift+E / Cmd+Shift+E

Recent Locations

Alt + Left/Right Arrow / Cmd + Left/Right Arrow

Navigate Back/Forward

Editing

Basic Editing

Ctrl+Space / Cmd+Space

Basic Code Completion

Ctrl+Shift+Space / Cmd+Shift+Space

Smart Code Completion

Ctrl+Alt+Space

Class Name Completion

Ctrl+Shift+Enter / Cmd+Shift+Enter

Complete Statement

Ctrl+/ / Cmd+/

Line Comment

Ctrl+Shift+/ / Cmd+Shift+/

Block Comment

Alt+Insert / Cmd+N

Generate Code (Getters, Setters, Constructors, etc.)

Ctrl+Alt+L / Cmd+Option+L

Reformat Code

Code Manipulation

Ctrl+D / Cmd+D

Duplicate Line or Selection

Ctrl+Y / Cmd+Delete

Delete Line

Ctrl+Shift+J / Cmd+Shift+J

Join Lines

Alt+Shift+Up/Down / Option+Shift+Up/Down

Move Line Up/Down

Ctrl+W / Option+Up

Extend Selection

Ctrl+Shift+W / Option+Down

Shrink Selection

Refactoring

Refactoring Tools

Ctrl+Alt+Shift+T / Cmd+Option+Shift+T

Refactor This

Shift+F6

Rename

F6

Move

Alt+Delete / Cmd+Delete

Safe Delete

Ctrl+Alt+V / Cmd+Option+V

Introduce Variable

Ctrl+Alt+C / Cmd+Option+C

Introduce Constant

Ctrl+Alt+F / Cmd+Option+F

Introduce Field

Ctrl+Alt+P / Cmd+Option+P

Introduce Parameter

Debugging and Testing

Debugging Shortcuts

F9

Resume Program

Ctrl+F8 / Cmd+F8

Toggle Breakpoint

Ctrl+Shift+F8 / Cmd+Shift+F8

View Breakpoints

F7

Step Into

Shift+F7

Smart Step Into

F8

Step Over

Shift+F8

Step Out

Alt+F9 / Option+F9

Run to Cursor

Testing Shortcuts

Ctrl+Shift+T / Cmd+Shift+T

Create Test

Ctrl+Alt+R / Cmd+Option+R

Run Tests