This is a Visual Studio Code extension to interact with the Jujutsu (jj) version control system.
This extension is a fork of jjk. You can find an overview of all basic features its README.
Feel free to contribute to the extension.
Begin by installing npm depdencies.
npm installAfterwards, you can build the extension sources and run tests.
npm run build
npm run testRunning tests requires a display. You may see errors if you do not have a display (e.g. if you're developing remotely).
Missing X server or $DISPLAY
It should be possible to bridge this gap with
Xvfb. You can create a virtual screen
with Xvfb and point the DISPLAY environment variable to it for the test.
Start a virtual display. This will run in the background.
Xvfb :99 -screen 0 1280x1024x24 &Then specify the DISPLAY environment variable when running tests.
DISPLAY=:99 npm testThe Electron docs have slightly more detailed guidance.
You can package the extension to a VSIX file locally and test this directly in your VSCode installation.
Begin by packaging the extension.
npx @vscode/vsce packageThis produces ukemi-<version>.vsix in the root of the repository.
Once you have this file, follow the instructions from the official VSCode docs to install the extension from it.