BraidFS extension for VS Code.
If you have BraidFS running,
and you open a file in the ~/http
directory,
this extension will allow editing of the file without conflicts
(when a file is saved,
the edits will be merged with any edits that happened externally while the file was being edited locally).
- Download the latest
.vsix
file from the Releases page - Open VS Code
- Press
Ctrl+Shift+P
/Cmd+Shift+P
to open the Command Palette - Type "Install from VSIX" and select
Extensions: Install from VSIX...
- Select the downloaded
.vsix
file
Via command line:
code --install-extension braidfs-vscode-0.0.2.vsix
# Clone the repository
git clone https://github.com/braid-org/braidfs-vscode.git
cd braidfs-vscode
# Install dependencies
npm install
# Package the extension
vsce package
# Install the generated .vsix file
code --install-extension braidfs-vscode-0.0.2.vsix
- Ensure BraidFS is running, and sync a file with it.
- Open the synced file in VS Code.
- Edit the file locally, and before saving, edit it remotely, then save local changes and see them merge with remote changes.