Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 12:57
· 60 commits to main since this release
Immutable release. Only release title and notes can be modified.
d83705f

The Gantry VS Code extension

Each release now carries gantry-vscode-<version>.vsix. Install it with code --install-extension gantry-vscode-0.6.0.vsix; the guide is docs/guides/vscode.md.

New

  • Lint as you type. Diagnostics follow unsaved buffers, and each finding links to its rule page. Every gantry.yaml in the workspace gets its own session, including nested projects.
  • References in any file. Hover, go-to-definition and completion for @ruling:, @defect:, @pass:, @evidence: and bare defect IDs. They work in code comments in any language, with no language extension needed.
  • CodeLens over named tests. "guards @ruling:…" and "closes D-…" appear above each test a ruling or defect names.
  • Commands. New defect, Amend ruling, Close defect and Add evidence.
    • Each shows a preview diff and core's lint, then writes into the open buffer.
    • Close refuses while the defect still owes anything.
    • Add evidence runs the gantry CLI, and only in trusted workspaces.
  • Ruling and Pass views in a panel. These are the web app's views, backed by the extension's own core. The panel can write only the exact result core computed for it, inside the project's records.
  • Core. Two new core functions, refs and symbols. ModelConfig gains testGlobs.

Fixed

  • Web app. An edit queued while the same project re-read now reports "reloaded" rather than "another project was opened".

Release

  • The .vsix is built in a read-only job, and the publishing job runs no JavaScript.

Full changes: #6