VS Code Aphex Preview ExtensionThumbnail preview images on hover for @kitschpatrol/unplugin-aphex URLs. Getting startedLet's assume you have VS Code installed and are working in a project using the unplugin-aphex build tool plugin to integrate photos from your local Apple Photos.app library into your build pipeline via the Aphex project. Install the extension from the Marketplace, or run the following in VS Code's command palette:
Now, when you hover over an Aphex-style link in your code, you should see a live preview thumbnail of the referenced photo.
For now, this extension does not itself resolve or fetch images; it only provides thumbnail previews for cached Aphex URLs that have already been resolved by unplugin-aphex via Aphex. This plugin will technically function and resolve from an existing image cache on Linux and Windows versions of VS Code, but the underlying Aphex pipeline (and the entire premise of resolving assets from a local Apple Photos.app library) will only work on the macOS platform. ConfigurationThe extension provides the following settings:
Supported file typesHover previews work in the following file types: JavaScript, TypeScript, JSX, TSX, Markdown, MDX, HTML, Astro, and Svelte. MaintainersContributingIssues are welcome and appreciated. Please open an issue to discuss changes before submitting a pull request. Unsolicited PRs (especially AI-generated ones) are unlikely to be merged. This repository uses @kitschpatrol/shared-config (via its License |
