Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ESDoc MDNNew to Visual Studio Code? Get it now.

ESDoc MDN

Samundra Khatri

|
12,605 installs
| (10) | Free
If you are coding and in middle you forget syntax or description about any javascript api then just write //mdn [object].[method] .
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Awesome plugin for Visual Studio Code :sunglasses: [Beta]

Quickly see docs from MDN in VS Code

Quick Demo
This extension lets you quickly bring up helpful MDN documentation in the editor by typing //mdn [api];. For example, to see documentation for Object, type //mdn Object;, and to view a method or property, such as Object.assign, type //mdn Object.assign;. Don't forget the semicolon!

Usage

Load documentation of top level or global objects:

//mdn [api]; example: //mdn Array;

Load documentation of a method or property:

//mdn [api].[method];
example: //mdn Array.from;

[api] and [method] are case-insensitive, so //mdn array.from; is also fine.

Is the semicolon necessary?

Yes! A search won't happen without it.

Examples

//mdn document;
//mdn Object.keys;
//mdn object.values;
//mdn Array.slice;
//mdn array.splice;

Supports

js, vue,jsx, ts,tsx

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft