Pravesh Jain
Pravesh Jain

Reputation: 4288

Keyboard shortcut to cleanup code in WebStorm

What is the keyboard shortcut to cleanup code in IntelliJ WebStorm?

I keep getting the "Unterminated statement" warning and have to select "cleanup code" option every time to fix it. Is there a keyboard shortcut for the same?

Upvotes: 1

Views: 157

Answers (1)

Marcin Natanek
Marcin Natanek

Reputation: 576

If you double-click shift it will open a search-all window, where you can type literally anything, and it will search IDE options, files, symbols, etc.

Do that and type in 'cleanup code', see what happens. On the right side, there should be a keyboard shortcut. If there isn't any, you can assign it with settings windows.

Upvotes: 2

Related Questions