I feel frustrated, because there does not seem to be any IDE that understands JsDoc. I want to be able to do something like:
/**
* @class B
* @augments A
*/
B = A.extend({
/**
* @constructor
*/
constructor: function() {
}
});
var instance = new B();
So, if I now type instance., the IDE would show a code assistant with all methods found in B and its parents.
I have tried Eclipse, Aptana Studio, NetBeans and all have failed so far. Does anyone know an IDE that actually works for JavaScript development? I want the outline and code assistant to work, those are the most crucial features.
IIRC, PHPStorm supports it. You can try out a 30 day trial of the latest 2.0 build (currently in testing) from http://www.jetbrains.com/phpstorm/nextversion/index.html
Edit: Just tried, and it worked fine.