Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MDN searchNew to Visual Studio Code? Get it now.
MDN search

MDN search

ajanuw

|
1,764 installs
| (1) | Free
mdn search
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mdn-search

  1. Select text
  2. right click
  3. Left click "mdn search"

The above picture will use a browser to open "https://developer.mozilla.org/en-US/search?q=alert"

If you want to open "https://developer.mozilla.org/zh-CN/search?q=alert", then you need to add in "settings.json"

{
  "mdnSearch.url": "https://developer.mozilla.org/zh-CN/search?q=${q}"
}

publish

$ npm run vscode:prepublish
$ vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft