JSdoc feature request: Google Closure Compiler syntax recognition

First of all, thank you for the best IDE ever!

I have a feature request: it would be really nice and useful if PhpStorm supports JavaScript autocomplete hinting taken from JSdoc in Google Closure Compiler style.
Here's the full documentation: http://code.google.com/closure/compiler/docs/js-for-compiler.html

JSdoc is mainly used for documentation exporting, while GoogleCC-style JSdoc really explains how the code works!

I believe these are the most useful ones:
     @var {(MyObject|MySecondObject)}
     @var {Array.<MyObject>}
     @var {{count: Number, useful: Boolean}}
     @param {Array} blag-blah
     @this {MyObject}

and this one is really nice:

/** @typedef {(String|Node|jQuery)} */
jQuery.Selector; //jQuery can accept it as an argument to its $()-function

/** @type {jQuery.Selector} */
var node_pointer;


Currently, curly braces are even not recognized as an object name.

Thanks!

0
1 comment

Please post feature requests to tracker to allow voting and progress tracking. http://youtrack.jetbrains.net/issues/WI#newissue=yes

0

Please sign in to leave a comment.