Pin-opSelect a DOM element in Firefox or Chrome and see matching CSS or source-mapped SCSS ranges highlighted in the active VS Code file. You already found the rule in DevTools. Pin-op saves you finding it a second time in the editor: pick the element in the browser and the blocks that style it light up here. Click a declaration in the browser's Rules pane and this editor opens it with the cursor on the value. InstallPin-op has two halves and needs both. This extension is the IDE half. The browser half is a DevTools panel you install separately:
Install the matching release of both halves. VS Code is the only IDE a browser window can link to; support for other IDEs is in development. To install this extension from a local package instead of the Marketplace:
Link And InspectNormal use needs no terminal:
Disconnect unlinks only the current browser window. Other browser windows keep their own links. What Pin-op ResolvesThe picker shows a box-model overlay. The lazy DOM tree includes open shadow roots and same-origin frames; cross-origin frames are locked, and closed shadow roots stay closed. CSS can fall back to a conservative unique fingerprint. Source-mapped SCSS needs a usable source map, and Pin-op stops when the mapping or the active source document cannot be identified safely. Rules finds the stylesheet a page loaded by its content, not by the URL's folders, so a dev server or a renamed build output still leads to your file. A Rules click can open a different verified workspace file, but only when you click. Missing or invalid maps show verified generated CSS only and never an approximate SCSS origin. For PHP templates and JavaScript, TypeScript, JSX, or TSX files, Pin-op lists
where the active file names the selected element: its markup, selector
strings, Auto Refresh and IDE Highlight are set per tab and start on after a compatible protocol-v7 handshake and fresh tab state. Saving changed CSS/SCSS/Sass/Less refreshes the eligible stylesheets; saving changed JavaScript, TypeScript, Vue, PHP, or HTML reloads the current participating tab and restores its scroll position. Unchanged saves do nothing. Turning IDE Highlight off clears the decorations only; resolution, Source presentation, and navigation keep working. Safety And CompatibilityPin-op is read-only. It does not edit files or execute caller-supplied commands. An explicit Rules origin click may switch VS Code using a current IDE-issued opaque authority; passive inspection never switches editors. No workspace URI/path, full range, document version, or command crosses the bridge. Browser-local DOM references stay in the browser, and product traffic uses explicit window linking over a loopback-only WebSocket. Firefox Stable 142+ and Chrome/Chromium 116+ are supported with a matching local VS Code extension. Remote SSH and WSL extension hosts are not supported. The browser and IDE extensions must use the same protocol generation. Protocol
v6 is rejected with WebSocket close code DocumentationRead the usage guide,
architecture overview,
protocol contract,
privacy policy,
and security model.
Source and issue tracking are in the
Pin-op repository and
issue tracker. The extension
ID is Pin-op by Volodymyr Moskvin (c) 2026 Conus Vision |