Skip to content
forked from keanemind/jjk

VSCode Extension for Jujutsu (jj)

License

Notifications You must be signed in to change notification settings

sbarfurth/ukemi

 
 

Repository files navigation

ukemi

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.

Contributing

Feel free to contribute to the extension.

Requirements

Setup

Begin by installing npm depdencies.

npm install

Afterwards, you can build the extension sources and run tests.

npm run build
npm run test

Running 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 test

The Electron docs have slightly more detailed guidance.

Testing in VSCode

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 package

This 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.

About

VSCode Extension for Jujutsu (jj)

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 78.4%
  • HTML 11.6%
  • Zig 6.2%
  • JavaScript 2.0%
  • CSS 1.5%
  • Shell 0.3%