mirror of
https://github.com/yoshiko-pg/difit.git
synced 2026-09-19 05:03:24 +08:00
c1afb2dcdd
* fix(deps): update major-updates * fix(vscode): use node16 module resolution --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: maasa <maasa.giss2@gmail.com>
difit VS Code Extension
Open difit with one click and render it in a VS Code tab using Simple Browser.
- Project: https://github.com/yoshiko-pg/difit
Requirements
- VS Code
^1.98.0 difitCLI installed on your machine (or install from the extension prompt)
What It Does
- Adds
difit: Open Reviewanddifit: Stop Reviewcommands. - Shows an editor title button (top-right icon) for quick open.
- Shows a status bar button (
difit) for quick open. - Reuses a running difit process per workspace.
- Chooses launch args automatically:
- with uncommitted changes:
difit . --no-open - without uncommitted changes:
difit HEAD --no-open
- with uncommitted changes:
- Opens the URL in a VS Code tab via
simpleBrowser.api.open. - Writes runtime logs to Output channel
difit.
Settings
difit.executablePath(default:difit)difit.installCommand(default:npm install -g difit)
Build VSIX Locally
From repository root:
pnpm install
pnpm run package:vscode
Generated file:
packages/vscode/difit-vscode-<version>.vsix
Install VSIX
- Open Extensions view.
- Click
...(More Actions). - Choose
Install from VSIX.... - Select
packages/vscode/difit-vscode-<version>.vsix. - Run
Developer: Reload Window.