Contributors
Using the plugin
Required software
The plugin requires the jpipe compiler, version 3.0.0 or newer, to be available on your
computer:
An older compiler is not used: the plugin says which version it found and offers to update it.
You can provide the compiler in three ways, selected via the jpipe.executionMode setting:
- cli (recommended): the
jpipe executable on your PATH (jpipe.cliPath).
- jar: a JAR you downloaded yourself, run with
java (jpipe.jarFile, jpipe.javaExecutable).
- managed (easiest on Windows): run the jPipe: Install Compiler from GitHub Release
command and pick a version. The extension downloads the selected compiler JAR over HTTPS
from the jpipe-compiler releases
into its own private storage and runs it with
java — no manual path configuration. The
downloaded JAR is an executable; the extension only fetches it after you explicitly pick a
release, and periodically offers to update it. (Requires a Java runtime.)
Running models (the ▶ button) also needs, in the workspace's Python environment,
jpipe-runner 4.0.0 or newer on Python 3.11 or
newer; the plugin offers to set that environment up. With jpipe-runner 4.1.0 or newer, the recommended release, a run's
drawing and results fill in as each step finishes rather than when the run ends. Pylance
is recommended for writing step libraries, and offered, but not required.
jPipe: Check jPipe Installation reports all of it at once, with a button for the first
thing to fix.
How to use the plugin?
Simply open a file using the .jd extension.
You get syntax highlighting, live validation, completion, hover and go-to-definition across the
files a model loads, quick fixes on the lightbulb (⌘. / Ctrl+.), refactorings under
Refactor…, Format Document (⇧⌥F / Shift+Alt+F) to lay a model out, and a diagram
preview you can export. The jPipe shield in the activity bar opens a Models view listing every
template and justification in the workspace, so you can find a model without remembering which
file it lives in, and the ▶ button runs a justification with
jpipe-runner against the step libraries you check in
its Libraries view, and draws the run, its dataflow and its verdict, in a Run panel beside
the editor. Everything is also in the command palette under jPipe. The tutorials below
walk through them.
Tutorials
Please visit https://www.jpipe.org/tutorials/ for examples and guidance on how to develop justification models using jPipe.
How to contribute?
You can find more information about the jPipe project on the main repository: https://github.com/jpipe-mcscert
AI assistance policy
Parts of this codebase were developed with the assistance of Claude (Anthropic), an AI coding assistant. We are transparent about this use and welcome AI-assisted contributions, subject to the following conditions:
- Pull requests must not be 100% AI-generated. Every contribution must reflect the understanding and judgement of a human author.
- Human authors are fully responsible for the correctness, quality, and appropriateness of their contributions, regardless of whether AI tools were used in their preparation.
- Reviewers may ask contributors to explain any part of their submission.
We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), as well as McMaster University.