Overview Version History Q & A Rating & Review
CukeRust — Gherkin × Rust BDD for VS Code
Zero‑config Gherkin authoring with Rust step integration. Diagnostics, go‑to‑definition, completion, hovers, and run helpers — all without executing project code unless you explicitly opt in.
Features
Diagnostics for undefined and ambiguous steps
Go‑to‑definition to Rust source (file:line
)
Completion and hovers powered by discovered regex patterns
Scenario Outline awareness (Examples expansion)
Discovery modes: Static Scan (default), Artifact, Runtime‑List (opt‑in)
Getting Started
Install the extension from the Marketplace (search “CukeRust”).
Open a Rust BDD workspace with *.feature
files and Rust step definitions.
Use Command Palette:
CukeRust: Rebuild Step Index
CukeRust: Force Static Scan Rebuild
CukeRust: Run Scenario
Settings
cukerust.discovery.mode
: auto | static-scan | artifact | runtime-list
(default: auto
)
cukerust.index.path
: path to docs/cukerust/step_index.json
cukerust.runMatrix.path
: path to docs/cukerust/run_matrix.md
cukerust.regex.matchMode
: anchored | smart | substring
(default: smart
)
cukerust.dialect
: auto | en | es
(default: auto
)
cukerust.ignoreGlobs
: additional globs to ignore during static scan
cukerust.diagnostics.enabled
: enable/disable diagnostics
cukerust.completion.enabled
: enable/disable completion
cukerust.statusbar.showMode
: show active discovery mode in status bar
cukerust.run.template
: fallback run command template for CodeLens
cukerust.runtimeList.command
: shell command to list steps in Runtime‑List mode
Commands
CukeRust: Rebuild Step Index
CukeRust: Dev — Extract Step Index (Fixture)
CukeRust: Dev — Match Micro Benchmark
CukeRust: Force Static Scan Rebuild
CukeRust: Run Scenario
CukeRust: Clear Ambiguity Choices
CukeRust: List Steps via Runner
Contributing & Docs
Full spec and test plan live in the repository root (README.md
, .docs/
, .specs/
).
Rust core BDD tests: cargo test -p cukerust_core --test bdd
in the rust/
workspace.
License
Dual‑licensed under MIT or Apache‑2.0. See repository root LICENSE-MIT
and LICENSE-APACHE
.