Pin-op 版本历史 - 4 个版本
Pin-op 作者: Conus Vision
Pin-op 版本历史 - 4 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 0.5.0
发布于 2026年10月31日 - 903.62 KB适用于 Firefox 142.0 及更高版本Clicking a declaration in Rules now opens it in VS Code with the cursor on its value, ready to edit. Clicking an @media width or height resizes the browser window so the page is shown at that size. Rules finds the SCSS block for many more rules, including values Sass computes from variables and functions and shorthands the browser reports in its own words. Sources now also list where JavaScript, TypeScript, JSX and TSX files refer to the selected element. Update the Pin-op VS Code extension to 0.5.0 as well: declaration clicks need both halves.源代码遵循 MIT 许可证 发布
较早版本
版本 0.4.2
发布于 2026年9月5日 - 867.83 KB适用于 Firefox 142.0 及更高版本This version pairs with Pin-op 0.4.2 for Visual Studio Code. The Rules fixes
below live in the IDE half, so update both halves:
https://marketplace.visualstudio.com/items?itemName=conus-vision.pin-op
Rules links a rule back to its SCSS again. The browser names a matched rule by
its index in the CSSOM, and that index cannot be recovered from the stylesheet
on disk: an engine drops every rule whose selector it does not implement, and
from the first dropped rule onwards every later index names a different rule.
Pin-op read that disagreement as "this rule is not identified", stopped before
the source map and showed the generated CSS. Measured on a real theme, one rule
resolved to its SCSS before this fix; 927 do now.
Rules also follows the source map for a rule whose selector the mixin around it
wrote. "@include link-states(hover) { b { ... } }" compiles to ".btn:hover b",
which nesting expansion cannot produce from "b", so the comparison used to
reject the very rule the map points at.
A rule the browser cannot be matched to exactly one rule in the file is still
left unresolved.
In the add-on itself, the Rules pane now says "No element selected" instead of
emptying without a word - the state a selection lost to page script lands in.源代码遵循 MIT 许可证 发布