Search code examples
javascriptintellij-ideajsdoc

JSDoc support in IntelliJ IDEA


Is there documentation for what JSDoc subset, superset, or mix of the two IntelliJ supports? My motivation for using JSDoc is two-fold:

  1. For developers: so IntelliJ can provide better code-completion, code checking, error checking, etc.
  2. For runtime efficiency: using the Closure compiler.

For #1 above, it is important for me to use JSDoc markup that is supported by IntelliJ, and until now figuring this out has mostly been a trial and error process.


Solution

  • Based on what little information is available in the WebStorm documentation, it looks like IntelliJ IDEA supports the entire JSDoc set. The only other note in the documentation is on viewing inline documentation which only points at the JSDoc SourceForge page.