Question

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.

Was it helpful?

Solution 2

Nice article about jsDoc for phpStorm at this link.

In WebStorm I guess the same.

OTHER TIPS

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.

WebStorm has no built-in functionality to generate documentation. You can use external solutions for that, at least as https://github.com/jsdoc3/jsdoc

I use jsduck for that: https://github.com/senchalabs/jsduck

WebStorm has a built-in function to help a little when creating JSDoc documentation in your code, they explain it in this article. As far as I could look for, there's no plugin on the WebStorm plugin store to further help us creating nor rendering JSDoc documentation. For that, you would need to use external tools.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top