Skip to content

Piwe/bugbench

Repository files navigation

BugBench VS Code / Kiro extension — standalone build

Self-contained build of the BugBench extension, extracted from the parent bugbench multi-module project. Contains only the six Gradle modules required to produce the .vsix:

core/             shared analysis engine + JavaParser + PMD wiring
git/              git diff helpers (used by the LSP scanProject)
sarif/            SARIF helpers (transitively required by :git)
vscode-lsp/       JVM Language Server (becomes server/bugbench-lsp.jar)
mcp-server/       JVM MCP server (becomes server/bugbench-mcp.jar)
vscode-extension/ TypeScript shell that bundles the two jars into a .vsix

Prerequisites

  • JDK 17 with JAVA_HOME pointing at it. Confirm with java -version.
  • Node 20 or newer (vsce 3.x requires it). Confirm with node --version. On Windows, use the official installer or nvm.

Build the .vsix

From this directory:

gradlew.bat :vscode-extension:packageVsix

(Or ./gradlew :vscode-extension:packageVsix on macOS/Linux once you add the missing gradlew shell wrapper — only gradlew.bat is shipped here.)

The produced .vsix lands at:

vscode-extension/bugbench-2026.2.0.vsix

Install into Kiro / VS Code

The per-OS install scripts under vscode-extension/ work the same as in the parent project:

cd vscode-extension
.\install.ps1            # Windows / Kiro
./install-macos.sh       # macOS
./install-linux.sh       # Linux

See vscode-extension/BUILD.md and vscode-extension/MANUAL_VERIFICATION.md for full publishing and post-install verification details.

Rebuilding individual jars

The Gradle build chain is:

:vscode-lsp:fatJar     → vscode-lsp/build/libs/vscode-lsp-2026.2.0-all.jar
:mcp-server:fatJar     → mcp-server/build/libs/mcp-server-2026.2.0-all.jar
:vscode-extension:stageJars   ← copies both jars to vscode-extension/server/
:vscode-extension:packageVsix ← runs npm + vsce on the staged tree

Run any of those tasks individually if you only want one artefact.

Standalone MCP zip

The standalone bugbench-mcp zip distribution (for Cursor / Claude Desktop / Claude Code, separate from the .vsix) is also producible from here:

gradlew.bat :mcp-server:distZip

Output:

mcp-server/build/distributions/bugbench-mcp-2026.2.0.zip

The bundled mcp-server/src/dist/README.md documents the per-host install snippet.

Provenance

This is a derived build of the upstream bugbench repository (branch: vscode-extension). The IntelliJ plugin module, CLI module, Maven plugin, Gradle plugin, and test-fixture projects from the upstream repo are intentionally not included here — they are not needed to build the .vsix.

For changes, raise issues / PRs against the upstream repo and rebase this directory afterwards.

About

coderef port for kiro/vscode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors