VS Code Extensions
V

viafile — via project CLI

by wenke

Syntax highlighting for viafile, the tasks file for via — a CLI for your project.

Downloads

2

Rating

(0)

Version

0.0.1

Last updated

Jul 12, 2026

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

Related extensions