PhpStorm’s code assist feature nicely displays our own JavaScript code documentation. But what if you wanted to create a separate documentation you can hand out or integrate into your website? Then you should use jsdoc-toolkit. You can configure and run jsdoc-toolkit directly from PhpStorm. Here is what you have to do:
Read more…
PhpStorm displays your own code documentation in the code assist. But what if you wanted to create a separate documentation you can hand out or integrate into your website? Then you should use phpDocumentor. You can configure and run phpDocumentor directly from PhpStorm as an external tool. Here is what you have to do:
Read more…
In case you were wondering how you get dojo code support in PHPStorm even if dojo is not in your project folder, here’s the solution:

Make code assist for dojo work if it is in an external directory.
1. Open Project Settings
2. Select Directories
3. Add the path to your dojo folder as a new Content Root.
4. Mark the directories dijit, dojo, dojox as a Resource Root
That’s it.
Just a quick post about the new PHP IDE by JetBRAINS. So far I’ve been working with Aptana Studio. I also tried NetBeans and Comodo Edit, but none was really satisfying, because either dojo or ftp support was missing (if I find time, I’ll write a post in more detail about the differences between those IDEs).
But now there is PhpStorm. I’m really impressed and enthused by its features, especially code completion for JavaScript. Since JavaScript is a loosely typed language, it’s difficult to write a good code assist. But PhpStorm just picks up everything. For example, if I use dojo.hitch to set the scope of a function, it catches what ‘this’ refers to within the anonymous function !

PHPStorm's amazing code assist in action. Notice that setting the scope with dojo.hitch is reflected in code assist!