Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Vayu OfficialNew to Visual Studio Code? Get it now.
Vayu Official

Vayu Official

NotY215

|
1 install
| (0) | Free
Official Vayu language support for Visual Studio Code: syntax highlighting, language server, formatter, and linter.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vayu Official for VS Code

Official language support for Vayu (.vyu) in Visual Studio Code and VS Code-compatible editors.

  • Extension name: Vayu Official
  • Publisher: NotY215
  • Extension ID: NotY215.Vayu-Official
  • Language ID: Vayu-Official

Features

  • Syntax highlighting for the current Vayu grammar
  • Language Server Protocol integration through vls
  • Inline diagnostics
  • Hover information
  • Go to definition
  • Completion
  • Formatter integration through vfmt
  • Linter integration through vlint
  • Restart-language-server command
  • Light/dark .vyu language icon declarations

.vyu file icons

The extension package includes assets/Vyu_Icon.ico for the light-theme context and assets/Vyu_Icon_Dark.ico for the dark-theme context. These are registered in package.json under the Vayu language contribution. Editors and file-icon themes decide whether to honor language-provided icons; a user-selected third-party File Icon Theme can override them. If the icon does not update after installation, switch to a theme that honors language icons and reload the VS Code window.

See the repository's icon support guide for the complete asset and executable-icon behavior.

Toolchain

Build the Vayu compiler/tooling from the repository root:

cmake --build build/x64-debug

The debug build provides:

build/x64-debug/bin/vls.exe
build/x64-debug/bin/vfmt.exe
build/x64-debug/bin/vlint.exe

The extension can auto-detect these paths from the workspace or use explicit settings.

Settings

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 File
  • Vayu Official: Lint File
  • Vayu 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft