Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>viafile — via project CLINew to Visual Studio Code? Get it now.
viafile — via project CLI

viafile — via project CLI

wenke

|
1 install
| (0) | Free
Syntax highlighting for viafile, the tasks file for via — a CLI for your project.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

viafile syntax highlighting

Syntax highlighting for viafile — the tasks file used by via, a small command-line tool that gathers your project's commands (configure, build, test, deploy…) into one CLI you run as via <task>.

If you keep a viafile in your project, this extension colorizes it so it's easy to read and edit.

What it highlights

  • Comments (# …)
  • Task names and :: namespace separators
  • Parameters and the optional ? marker
  • The : separator and the dependency references that follow it
  • {{name}} interpolation and $name / ${name} variables inside task bodies

When it activates

Automatically, for any file:

  • named viafile (or matching *viafile, e.g. example-viafile), or
  • with a .viafile extension.

Example

# configure the CMake build tree
configure:
    cmake -S . -B build

# build depends on configure — it runs first
build: configure
    cmake --build build

# a task with a parameter, used as {{name}}
test name:
    ctest --test-dir build -R {{name}}

Run it with via build, via test MySuite, and so on.

About via

via is a project-local task runner in the spirit of make and just, with first-class subcommands (via docker build). It's a single, dependency-free binary.

Project & docs: https://github.com/Wenke-D/via

License

MIT

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