O'Reilly logo

WebStorm Essentials by Den Patin, Stefan Rosca

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Refactoring facility

Throughout the development process, it is almost unavoidable that you have to use refactoring. Also, the bigger code base you have, the more difficult it becomes to control the code, and when you need to refactor some code, you will most likely be up against some issues relating to, for example, naming omission or not taking into consideration function usage. You learned that WebStorm performs a thorough code analysis so it understands what is connected with what and, if some changes occur, it collates them and decides what is acceptable, and what is not to perform in the rest of the code. Let us try a simple example.

In a big HTML file you have the following line:

<input id="search" type="search" placeholder="search" />

And ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required