PhpStorm
 
Get PhpStorm

JavaScript documentation look-up

Last modified: 13 November 2022

Required plugin:

Javascript and TypeScript -  The plugin is bundled with PhpStorm and enabled by default.

PhpStorm 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 and open documentation on external sites if links to them are available.

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

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

  • If no comment is found in the d.ts files, PhpStorm 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.