O'Reilly logo

PhpStorm Cookbook by Ankur Kumar, Mukund Chaudhary

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

Renaming elements

As the saying goes, change is inevitable; you must be ready for change, whatever the timeline might be. Engineers are negligent enough to commit mistakes while renaming—typographical errors, forgetting where to change, and so on. Don't worry, you can at least rest assured with PhpStorm at your disposal. What PhpStorm does is that it provides a refactoring system, in which you can make your change penetrate throughout the project, visible in one single step: The Refactoring Step. If you opt for refactoring, you have the freedom to do a number of refactoring tasks.

So, an addIngredient method can be easily written as addingredient at some point in code; toolTip can be written as tootLip, and so on. There might be five places in ...

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