This VSCode extension provides an onboarding experience for Union Workspaces.
Install vsce (one time):
npm install -g vsceGenerate vsix binary:
vsce package --no-yarnThis will create a union-workspace-X.Y.Z.vsix file in the root directory.
Install the extension on VSCode:
- Run
make update-contentto update the workflows in thecontentsubmodule. - Press
cmd + shift + pand selectingExtensions: Install from VSIX... - Select the
union-workspace-X.Y.Z.vsixfile. This should automatically activate the walkthrough. - Before running any commands, press
cmd + shift + pand selectPython: Select Interpreter. - Choose
+ Create Virtual Environment...and select eithervenvorconda. This new environment should be selected as the Python Interpreter. - Open the terminal and run
pip install -r requirements.txt. - Make sure that you
cdinto thecontentdirectory. - You should now be ready to run the commands in the walkthrough.
- Add a
git tag -a vX.Y.Z -m 'Release X.Y.Z'to the latest commit. - Push the tag to the remote:
git push origin --follow-tags. - Go to the repo's new releases page: https://github.com/unionai/workspace-vscode-extension/releases/new.
- Create a new release with the same name as the tag
vX.Y.Z. - Attach the
union-workspace-X.Y.Z.vsixfile to the release.