Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VDLNew to Visual Studio Code? Get it now.
VDL

VDL

Varavel OSS

|
13 installs
| (1) | Free
Official language support for VDL (Varavel Definition Language): Syntax highlighting, LSP, snippets, and more.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VDL VSCode Extension

Official VDL extension for Visual Studio Code or any VSCode based editor.

  • VDL Docs
  • VDL Repository
  • VDL VSCode Extension Repository

Installation

  • Install from the VSCode Marketplace
  • Install from Open VSX Registry
  • Download the .vsix file from the releases page

Features

The following features are provided by the extension for .vdl files.

  • Syntax highlighting
  • Error highlighting
  • Code autocompletion
  • Auto formatting
  • Code snippets

Requirements

This extension requires the VDL (vdl) binary to be available to VS Code.

You can download the binary for any OS/Arch in the VDL Releases page.

For more information on how to install vdl, read the VDL documentation.

The extension looks for vdl in this order:

  1. vdl.binaryPath
  2. The current workspace's local node_modules/.bin install, then parent node_modules/.bin directories up to the filesystem root
  3. GOBIN
  4. Your operating system PATH

If the binary is not found automatically, you can set a custom path with vdl.binaryPath.

Extension Settings

  • vdl.enable: Enable VDL language support. If disabled, the only feature that will be available is Syntax Highlighting. Default true.

  • vdl.binaryPath: Path to the VDL binary. If not set, the extension looks for node_modules/.bin/vdl in the current workspace and parent directories, then GOBIN, then PATH. Default <not set>.

Commands

  • vdl.init: Initialize VDL project
  • vdl.restart: Restart Language Server
  • vdl.openLogs: Open Language Server Logs

Snippets

The following snippets are available for .vdl files:

  • type: Define a new named type
  • field: Add a required field to a type
  • field?: Add an optional field to a type
  • enum: Define an enumeration with implicit string values
  • enums: Define an enumeration with explicit string values
  • enumi: Define an enumeration with explicit integer values
  • const: Define a constant with an inferred type
  • constt: Define a constant with an explicit type
  • ann: Add a flag annotation (@name)
  • annarg: Add an annotation with a scalar argument (@name("value"))
  • annobj: Add an annotation with an object argument
  • map: Use a map type (map[ValueType])
  • include: Include another VDL file
  • doc: Insert a standalone documentation block
  • docfile: Reference an external markdown documentation file

Release Notes

Below are release notes for the last 10 versions, you can also see the entire changelog.

v0.1.5 - 2026-03-09

  • Added workspace-local VDL binary discovery through node_modules/.bin, including parent directories up to the filesystem root.
  • Prioritized project-local VDL installations before GOBIN and PATH to better match monorepo and dev dependency workflows.
  • Unified binary execution so vdl, vdl.exe, vdl.cmd, and vdl.bat work consistently for commands and the language server.

v0.1.4 - 2026-03-03

  • Rewrote syntax highlighting grammar to align with current VDL spec and remove legacy rules.
  • Rewrote snippets to match current VDL syntax.

v0.1.3 - 2026-02-02

  • Fixed syntax highlighting for keywords used as field names (e.g., input: string, output: int, type: bool).

v0.1.2 - 2026-02-01

  • Refactored VDL syntax highlighting with granular declarations and improved pattern matching.

v0.1.1 - 2026-01-30

  • Added vdl.openLogs command to easily open the language server log file.

v0.1.0 - 2026-01-29

  • Initial release of VDL for VSCode (formerly UFO RPC).
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft