Copy selected local files to Remote Server just on your VS Code.
The local-edit → remote-run workflow for AI Coding Agents: Agents change files on your machine, Sync Anchor pushes the exact selection to the server where tests, training, and GPU jobs run.
Usage of the Extension
Click the Sync Anchor icon in the Activity Bar (or run Sync Anchor: Open Panel).
Pick a connection to copy files for (only live SSH sessions are listed).
Set the local base (a folder on your lical machine) and the remote base (a folder on the server).
Check files/folders in the local tree, select for a batch, and then click Preview.
Review the transfer queue (new / overwrite / skip), then Upload.
Configurations
Setting
Default
Description
syncAnchor.excludes
[".git"]
Glob-like patterns excluded from the tree and uploads. Entries matching the local base's .gitignore are excluded too.
syncAnchor.backupBeforeOverwrite
false
Move remote files to ~/.sync-anchor-backup/<timestamp>/ before overwriting.
Quick Start From Source
Prerequisites
A remote host reachable over SSH
Node.js 18+
Build & run
npm install
npm run compile # tsc → out/
npm test
npm run package # build the .vsix
Run the extension with F5 inside VS Code (launch.json is included).