A VS Code/Cursor extension that simplifies keeping a ported library in sync with its upstream by making it easier to manage identically-structured projects side by side. Built for internal use, but feel free to use it if you find it helpful.
Features
Automatically detects when you open a file while the Source Control (Git) view is active
Finds counterpart files in neighbor workspaces (e.g., packages/react/src/... → packages/solid/src/...)
Opening a deleted file deletes its counterpart in neighbor workspaces
Opening a new (untracked) file creates a copy in the counterpart folder
Usage
Open a multi-root workspace with at least two workspace folders (e.g., packages/react and packages/solid)
Ensure the Source Control view is active (Git provider detected)
Open a file from the GitHub changes review sidebar or any file while SCM is active
The extension will automatically find and open the counterpart file in the neighbor workspace
Use Reflectwin: Enable / Reflectwin: Disable (Command Palette) to turn the extension on or off
How It Works
The extension monitors when files are opened while the Git SCM provider is active
When a file is opened, it calculates the relative path within its workspace folder
It then searches other workspace folders for a file at the same relative path
If found, it opens the counterpart file side-by-side in split panes
Configuration
reviewExt.enabled: Enable/disable the extension (default: true)
Development
bun install
bun run compile
bun run watch
Press F5 to run the extension in a new Extension Development Host window.
Requirements
VS Code 1.74.0 or higher
Multi-root workspace with at least 2 workspace folders