Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Unison SyncNew to Visual Studio Code? Get it now.

Unison Sync

josegonzalez

|
8 installs
| (0) | Free
Runs unison sync on file save.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Unison Sync for Visual Studio Code

This extension allows running unison against a remote server.

Important Both the local and remote server must have unison installed and the version should be the same to avoid issues.

Configuration

Add "josegonzalez.unison-sync" configuration to user or workspace settings.

  • "autoClearConsole" - (optional) clear VSCode output console every time commands run. Defaults to false.
  • "profile" - (optional) The name of a profile to use for syncing (takes precedence over remote option)
  • "remote" - (optional) A remote path to sync
  • "shell" - (optional) shell path to be used with child_process.exec options that runs commands.

Sample Config

This sample configuration will sync the local directory to the remote server example.com under the /root/test directory.

"josegonzalez.unison-sync": {
	"remote": "ssh://root@example.com/test/"
}

Commands

The following commands are exposed in the command palette:

  • On Save: Enable
  • On Save: Disable

Links

  • Marketplace
  • Source Code

License

  • Apache
  • Upload in Cloud Icon by Amit Jakhu on IconScout.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft