WebStorm: How to generate JSDoc documentation
Since Webstorm v8.0.0, you can create JSDoc comments by simply typing /**
right before the method
or function
declaration you want to add the documentation, and then press Enter, this will generate a basic block with all your parameters
already set.
More info on this Webstorm article.
Nice article about jsDoc for phpStorm at this link.
In WebStorm I guess the same.