IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

JavaScript documentation look-up

Last modified: 10 August 2022

Required plugin: Javascript and TypeScript

The plugin is available only in IntelliJ IDEA Ultimate, where it is enabled by default.

IntelliJ IDEA shows you reference for standard JavaScript APIs, for symbols from your project and from its dependencies, as well as for symbols defined in external libraries. You can view the documentation for symbols in the Documentation popup, get information on method parameters, and open documentation on external sites if links to them are available.

  • For a project symbol or for a symbol from the project dependencies, IntelliJ IDEA generates the documentation from the corresponding JSDoc comment.

  • For a standard JavaScript object or method, IntelliJ IDEA shows the corresponding JSDoc comment from the built-in TypeScript definition files d.ts. These files are bundled with IntelliJ IDEA and updated on a regular basis.

  • If no comment is found in the d.ts files, IntelliJ IDEA shows a summary from the corresponding MDN article.

By default, documentation is shown in the Documentation popup but you can configure it to appear in the Documentation tool window.