Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Drut for Cube VoyagerNew to Visual Studio Code? Get it now.
Drut for Cube Voyager

Drut for Cube Voyager

Pukar Bhandari

|
1 install
| (0) | Free
Syntax highlighting and language support for Cube Voyager control-statement scripts (.s/.block), backed by the Drut language server.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Drut for Cube Voyager

Syntax highlighting, structural diagnostics, formatting, and full Language Server support for Cube Voyager control-statement scripts (.s / .block files) — the script language transportation planners use to write travel-demand model logic.

Editing these scripts without this extension usually means no syntax highlighting, no error checking until the model actually runs, and no consistent formatting across a team. Drut catches structural mistakes as you type and keeps scripts formatted consistently.

Features

  • Structural diagnostics — unmatched IF/LOOP/RUN/PROCESS blocks, unclosed comments, and other real mistakes, flagged before you run the model.
  • Formatting — consistent indentation and, optionally, keyword casing, on save, on paste, or on demand. ; FMT: OFF / ; FMT: ON markers exclude a specific range when you need to.
  • Hover, autocomplete, and "did you mean" spell-check for control words and keyword names.
  • Code folding for every block kind and block comment.
  • Shared project configuration via a drut.toml file at the root of your project, so a team doesn't need to agree on editor settings individually.

Nothing to install separately

On first activation, this extension resolves a working drut language server automatically: it checks PATH first (never overriding a copy you already have installed or built from source), then its own storage from a previous activation, then — if neither is present — downloads the correct binary for your platform from the project's GitHub Releases and verifies it against its published checksum before trusting it. If none of that is possible (offline, or an unsupported platform/architecture), the extension still works for syntax highlighting; only diagnostics, hover, completion, and formatting are unavailable until a binary can be resolved.

More

  • Full documentation, architecture, and configuration reference
  • What's changed release to release
  • Report an issue

Licensed under either the MIT License or the Apache License, Version 2.0, at your option.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft