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

domlink

domlink

| (0) | Free
Click a DOM element to jump to the code, or click code to find it in the DOM, so you can easily see what you’re working on.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

domlink

Click a DOM element in the browser to jump to that spot in your code, or click a line in your editor to see where it lives in the DOM. A simple way to see what you’re working on.

Companion for domlink.

Requirements

npm i -D @domlink/domlink
npx @domlink/domlink init

Then start your dev server (npm run dev).

Usage

Where Action
Browser Hold Alt / Option, hover an element, Alt+Click to open the source
Editor Put the cursor on a source line and press Alt+F to find it in the DOM

Also available as Ctrl+Alt+F (Windows/Linux) or Cmd+Alt+F (Mac).

Commands

  • domlink: Show in browser: find the current editor line in the open localhost tab
  • domlink: Reveal location: used by the browser to IDE bridge

Settings

  • domlink.devServerPort: override the Vite/dev server port (0 = auto-detect)

Links

  • npm: https://www.npmjs.com/package/@domlink/domlink
  • GitHub: https://github.com/sallyq1/domlink
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft