Vayu Official for VS CodeOfficial language support for Vayu (
Features
|
| Setting | Default | Purpose |
|---|---|---|
vayu.vlsPath |
empty | Path to vls; empty enables workspace auto-detection |
vayu.vfmtPath |
empty | Path to vfmt; empty enables auto-detection |
vayu.vlintPath |
empty | Path to vlint; empty enables auto-detection |
Code Runner compatibility
When Code Runner is installed, Vayu Official configures the vayu executor to launch the compiler from the installed extension directory. It supports bundled executables in the extension root, bin/, bin/win32-x64/, and bin/windows-x64/.
The executor uses PowerShell's call operator and the Code Runner $fullFileName substitution without adding another pair of quotes. The source filename is passed before --run, matching the Vayu CLI syntax vayuc <file.vyu> [mode] [flags].
The extension also locates vls.exe, vfmt.exe, and vlint.exe from the bundled locations. The optional vayu.compilerPath setting overrides compiler auto-detection.
Commands
Vayu Official: Format FileVayu Official: Lint FileVayu Official: Restart Language Server
Packaging
This is a normal VS Code extension and uses @vscode/vsce:
npm install -g @vscode/vsce
cd vscode-vayu-Extention
vsce package
The current package version is 1.2.1. The extension manifest uses the package name Vayu-Official, display name Vayu Official, publisher NotY215, and author NotY215, producing the extension ID NotY215.Vayu-Official.
Repository
https://github.com/NotY215/Vayu
License
Apache-2.0. See LICENSE.