Tag Archives: refactoring

‘Extract Function/Method’ refactoring for PHP

Hello guys, We are working hard on new features for PhpStorm 2.1, and the ‘Extract Function/Method’ refactoring for PHP is one of them. This feature has been available since the first PhpStorm 2.1 EAP(106.444), and we are looking forward for … Continue reading

Posted in Feature | Tagged , , , | 14 Comments

Productivity hints: Writing assignments with ‘Introduce Variable’ refactoring

Hello guys, Recently after demoing the PhpStorm to users on a conference I discovered that our practice of writing assignments “backwards” via “Introduce variable” was really surprising to users… Lets discuss what exactly we are doing and why. How do … Continue reading

Posted in Feature | Tagged , , , | 7 Comments

“Introduce Constant” refactoring for PHP

The “Introduce Constant” refactoring is very similar to the “Introduce Variable” refactoring – it creates a constant which holds the selected expression as the value and replaces it occurrences by reference to this newly created constant.

Posted in Feature | Tagged , , | 3 Comments

Increase your productivity with “Inline Variable” refactoring

Hello guys, PhpStorm 2.0 brings you several new refactorings including “Inline Variable”. This is the first refactoring from the ‘Inline…’ refactorings family. “Inline Variable” replaces a variable with its previously assigned value and could be considered as reverse to the … Continue reading

Posted in Feature | Tagged , , | 5 Comments

New Rename refactoring features in PhpStorm 2.0

Rename refactoring is one of the basic types of refactoring, and PhpStorm supports it since the early builds. This post will let you know about the new rename refactoring features available in PhpStorm 2.0! Advanced options for renaming named entities Rename … Continue reading

Posted in Feature | Tagged , , | 3 Comments

PhpStorm/WebStorm EAP build 95.129

Release is really close and we’re happy to officially announce the pricing for both WebStorm and PhpStorm. In the meantime new EAP with significant amount of fixes and some facelifting and of course several neat features: HTML5 support in both HTML and … Continue reading

Posted in Announcement | Tagged , , , , , , , , | 4 Comments

JavaScript refactoring: Inline Variable

One of the major techniques to keep your code in a good shape is refactoring it. In the latest Web IDE EAP (#470) you can try the just added Inline Variable JavaScript refactoring. Inline Variable — replaces local variable occurrences … Continue reading

Posted in Feature | Tagged , , , | 7 Comments