Category Archives: Cool Feature

Composer support in PhpStorm

One of the great things that happened in PHP world was the introduction of Composer, a dependency manager for PHP which allows us to specify dependencies for our project and have Composer install and update them for us. With PhpStorm … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , | 7 Comments

Refactoring for Class Members in PhpStorm 6: Pull Up and Push Down

As you work on a big project, you often face the need to refactor your code to maintain it properly. Likewise, there are many situations when you start to add functionality from the bottom of the class hierarchy and then … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , | 4 Comments

File Watchers in WebStorm/PhpStorm 6 (a.k.a. “Background Tasks”)

*Note – users of other JetBrains IDEs (RubyMine, PyCharm, IntelliJ IDEA, …) will need to download and install the File Watchers plugin to use this functionality (available for free). The plugin is already bundled with WebStorm and PhpStorm. Many users … Continue reading

Posted in Cool Feature, PhpStorm, WebStorm | 50 Comments

JavaScript Libraries Improvements in WebStorm 6

Every JavaScript project bigger than “Hello, World” one uses libraries, often many of them. That’s why handling libraries properly is so important for the IDE. Let’s look at how WebStorm 6 supports libraries and what have been changed since version … Continue reading

Posted in Cool Feature, WebStorm | Tagged , | 11 Comments

Using the REST Client within PhpStorm and WebStorm

When building REST-based web APIs, it’s worth having a tool available to invoke them over HTTP. The current versions of WebStorm 6, PhpStorm 6, RubyMine 5.4 and PyCharm contain a bundled REST Client plugin which allows us to do just … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , , | 49 Comments

TypeScript Support in WebStorm 6

One of the evolutions in JavaScript development is the new TypeScript language, an open-source superset of JavaScript that allows us to write code in a typed language which compiles to JavaScript. At JеtВrаins wе wоrk tirеlеssly tо bring аbоut mоrе … Continue reading

Posted in Cool Feature, WebStorm | Tagged , , , , , , , , | 14 Comments

New Customizable Templates in PhpStorm 6 for Doc Blocks and Code

PhpStorm 6 brings a new set of customizable templates for PhpDoc blocks and overridden/implemented method body. Now we can decide what content these parts of code will initially have when they are generated automatically.

Posted in Cool Feature, PhpStorm | Tagged , | 2 Comments

Running CakePHP2 Unit Tests in PhpStorm

CakePHP2 comes with unit testing support powered by PHPUnit. In addition to the features offered by PHPUnit, CakePHP offers some additional features to make testing easier. Unit tests in CakePHP rely on a custom test runner which can be run … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , , | 7 Comments

Navigating Between Files in the IDE: Best Practices

Working with multiple files in the editor is par for the course. The challenge, however, is not to get lost in zillions of editor tabs opened for each file in the editor pane. Luckily, smart tab management and a few … Continue reading

Posted in Cool Feature, PhpStorm, WebStorm | Tagged , , , | 15 Comments

Comparing Files and Folders within your IDE

Sometimes you have several different versions of files or folders related to your project locally, or you’ve just downloaded it from a remote source. In this case it’s crucial to work with the most up-to-date copy. If you need to … Continue reading

Posted in Cool Feature, PhpStorm, WebStorm | Tagged , , , | 12 Comments