Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm: How to generate JSDoc documentation

I just started using WebStorm and JSDoc to document my JavaScript. Still I have not found a way to generate a HTML documentation using some kind of WebStorm built-in functionality. I searched the web and Stack Overflow, but only found a lot of questions about the syntax of JSDoc, etc.

What am I missing? I am using WebStorm 7.0.3.

like image 395
Tobias Avatar asked Feb 06 '14 22:02

Tobias


1 Answers

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.

like image 120
Preview Avatar answered Oct 13 '22 00:10

Preview