Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MDN Quick SearchNew to Visual Studio Code? Get it now.
MDN Quick Search

MDN Quick Search

th7as

|
231 installs
| (0) | Free
Quickly search MDN docs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MDN Quick Search

Quickly search MDN docs and pick a page from the search results to open in external browser.

Screenshot

Commands

This extension contributes the following command:

  • mdnQuickSearch.search: Opens MDN Quick Search. Selected text in the active editor will be used as the default search text. If no text is selected, then the text at the cursor positon will be used.

Settings

This extension contributes the following settings:

  • mdnQuickSearch.searchQueryUrl: URL for executing a search query at the MDN site (the search term is appended to the end of this URL).
  • mdnQuickSearch.searchIndexUrl: URL of the MDN search index json file.
  • mdnQuickSearch.alwaysUseBuiltInSearchIndex: If enabled then always uses the built-in search index, otherwise the newest search index is loaded from mdnQuickSearch.searchIndexUrl and the built-in one is used only in case of failure.
  • mdnQuickSearch.hideCommandInEditorContextMenu: If enabled then hides the MDN Quick Search command in the editor context menu.

Search Hints

This extension uses the QuickPick search and select box from VS Code, which has its own search and sort algorithm. Currently it is not possible to customize these algorithms.

Word order is important when searching. For example if you want to search for the push method from the Array object then you have to search for array push.

Searching for push array will not succeed, because the MDN search index contains the words in the other order.

If searching the MDN search index is not satisfactory, then you can push the search button in the title bar of the QuickPick box to execute a search query at the MDN site using the entered search term.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft