10 WebStorm keyboard shortcuts you need to know

WebStorm is great programming software and it also has keyboard shortcuts for almost every operation. The following article will share the 10 essential keyboard shortcuts that every WebStorm user needs.

When using most software, we feel productive when we can perform frequently used tasks quickly. Shortcuts are always a long-standing solution and a great support for this purpose, helping users to save significant time. All of the WebStorm keyboard shortcuts in the article are available in the default keyboard diagram for Windows, Linux, Mac OS X 10.5 and above. You can easily customize the keyboard configuration in Preferences | Keymap .

Search everywhere: Shift + Shift

As its name suggests, popup Search everywhere allows users to search for any data in the project, as well as the IDE.

You can find files, symbols, functions, variables, classes or other components in code and quickly navigate to them:

10 WebStorm keyboard shortcuts you need to know

You can also search for tasks and run them.

10 WebStorm keyboard shortcuts you need to know

You can also search through IDE settings, even turn on or turn off some options right at the popup.

10 WebStorm keyboard shortcuts you need to know

Navigate to declaration: Ctrl + B (⌘B) or Ctrl + Click (⌘-Click)

You can instantly switch to a defined function, method or variable declarations, class, composition, CSS styles just by Ctrl-clicking on it or put caps on it and press Ctrl + B . This shortcut can also help you to the reference file or imported module.

10 WebStorm keyboard shortcuts you need to know

If WebStorm finds more than one declaration for the same function, you will be prompted to select one of them from the drop-down list.

Finalize the code by replacing: Tab

When you start typing data into WebStorm, the popup completes the auto-generated code to help with programming. Basically, you only need to press Enter to select one of the suggestions provided. However, if you need to replace a function or change the CSS class, press Tab and the current element will be replaced by the selected lookup item.

10 WebStorm keyboard shortcuts you need to know

Show related actions: Alt + Enter or ⌥-Enter

WebStorm has a lot of Intention that helps you quickly fix errors, create code, or change project settings. Put a caret in the highlighted code or underlined, then press Alt + Enter to see a list of related tasks available. For example:

10 WebStorm keyboard shortcuts you need to know

Do not want to see any warning? Choose Suppress to turn off checking that line of code or file, or Disable it for the entire project.

10 WebStorm keyboard shortcuts you need to know

Expand the selection: Ctrl + W or ⌥-Up Arrow

With the Extend selection task, you can quickly select any code block without using a mouse:

10 WebStorm keyboard shortcuts you need to know

Run ...: Alt + Shift + F10 or ⌃⌥R

The fastest way to run one of the project's Run configurations is to press Alt + Shift + F10 on Windows or Ctrl-Alt-R on a Mac and select a configuration from the popup.

10 WebStorm keyboard shortcuts you need to know

Tip : Hold Shift and press Enter to Debug configuration instead of running it.

Open the Expand Live template: Tab

The Expand Live template is really a solution that saves you a lot of time. Type the short abbreviation, then press Tab to expand it in the code. Move from the placeholder of one variable to another in the template by pressing Tab again.

WebStorm has a rich collection of Templates, including Postfix templates. You can also add your own custom templates.

10 WebStorm keyboard shortcuts you need to know

WebStorm also supports Emmet abbreviations for HTML and CSS. You can expand them with Tab.

Multi-cursor: Alt + Click

The popular multi-cursor feature is also available at WebStorm. Press Alt + Click to use multiple cursors at once, then edit their positions simultaneously.

10 WebStorm keyboard shortcuts you need to know

New Scratch File: Ctrl + Alt + Shift + Insert or ⇧⌘N

With Scratch file, you can quickly create code samples or write notes while working in the IDE, without affecting the project file, but still get code support. Scratch file is saved in the IDE. You can easily access it from any project.

10 WebStorm keyboard shortcuts you need to know

Refactoring the code: Alt + Control + Shift + T or ⌃T

Code refactoring is a prominent feature of WebStorm. To quickly access the refactoring list available for selected codes, press Alt + Control + Shift + T or Ctrl-T :

10 WebStorm keyboard shortcuts you need to know

Other keyboard shortcuts

For a complete list of default keyboard shortcuts, visit the Keymap reference table in the IDE via Help | Default keymap reference or here .

Alternatively, through the Keymap configuration in Preferences | Keymap . Here, you can search by task name or shortcut:

10 WebStorm keyboard shortcuts you need to know

Also, remember the shortcut for Search Everywhere , you can see related shortcuts or try the Visual Shortcut Mapper with the default WebStorm keymap available.

Hopefully the above shortcuts will help you save time and use WebStorm effectively as you like.

Sign up and earn $1000 a day ⋙

Leave a Comment

How to Make Games Look Great with AMD FSR

How to Make Games Look Great with AMD FSR

AMD FSR or FidelityFX Super Resolution uses framerate upscaling and scaling to help increase FPS in games while maintaining or even improving graphics quality.

Create LOL VNG account, create new LMHT VNG account

Create LOL VNG account, create new LMHT VNG account

Converting a League of Legends account from Garena to Riot Games will help players transfer all the data in their account from the Garena LOL version to the Riot Game LOL version. Download the Riot Games LOL version and then log in to the new account.

The best games to benchmark your new gaming PC

The best games to benchmark your new gaming PC

Before you fire up your favorite games after building a new gaming PC, benchmark your machine with some demanding games. This list includes the best games to benchmark a new gaming PC.

4 Reasons to Buy a Handheld Instead of a New Gaming PC

4 Reasons to Buy a Handheld Instead of a New Gaming PC

Have you ever been torn between a handheld and a gaming PC? After some soul-searching, you may have realized that you've always preferred a handheld. Here's why!

Instructions for downloading and installing Xiaomi Game Turbo 5.0

Instructions for downloading and installing Xiaomi Game Turbo 5.0

Xiaomi has just released version 5.0 of MIUI Game Turbo. Let's find out how to download and install this feature on your Xiaomi device with Quantrimang.

The best Android emulators for gaming

The best Android emulators for gaming

In this article, Quantrimang only gives a list of the best Android emulators for playing games.

How to Choose the Best Controller for Your Gaming Experience

How to Choose the Best Controller for Your Gaming Experience

By considering factors like comfort, compatibility, and price, you can choose the gaming controller that's best for you.

Opera GX or Microsoft Edge browser best for gaming?

Opera GX or Microsoft Edge browser best for gaming?

The feeling of playing your favorite game while your browser downloads something in the background or plays epic music on YouTube is unmatched. However, some browsers are better suited for these situations.

Framerate capture is not a substitute for good hardware in gaming

Framerate capture is not a substitute for good hardware in gaming

NVIDIA claims that the RTX 5070 can match the RTX 4090 in performance with frame generation enabled.

How to get early access to game demos and releases

How to get early access to game demos and releases

If your job involves game guides, there are some tips for sniffing out early-release titles and demos.

Acer Launches Its First Handheld Gaming Console That Can Compete With The Best

Acer Launches Its First Handheld Gaming Console That Can Compete With The Best

Acer has entered the handheld gaming market, with the launch of the new Nitro Blaze 7 at IFA 2024.

What is Xbox Game Pass?

What is Xbox Game Pass?

Xbox Game Pass is a monthly subscription service for Xbox One users to experience the service's game genres.

How to program the game Catch Apples with Scratch

How to program the game Catch Apples with Scratch

Try programming the game Catch Apples through Scratch with Quantrimang

The best platforms to find quality free games

The best platforms to find quality free games

Whether you play on PC, mobile, or console, here's how to find some of your favorite free games—including blockbusters and hidden gems.

How much storage does a gaming PC need?

How much storage does a gaming PC need?

Planning to build a new gaming PC or upgrade your existing PC into a dedicated gaming rig but not sure how much storage you need? Find out below.