Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DAL SupportNew to Visual Studio Code? Get it now.
DAL Support

DAL Support

dist_agent_lang

|
1 install
| (0) | Free
Syntax highlighting and language support for DAL (dist_agent_lang): keywords, types, LSP (diagnostics, hover, completion, go to definition, signature help).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DAL Support (VS Code / Cursor)

VS Code extension for DAL (dist_agent_lang): language registration for .dal files and LSP client that starts the DAL language server (dal lsp).

Features

  • Language: Registers dal for .dal files with syntax highlighting (TextMate grammar: keywords, types, strings, comments, attributes, operators). Grammar is synced from .vscode/extensions/dist-agent-lang/syntaxes/; that folder is the canonical source for syntax rules.
  • LSP: Starts the language server via dal lsp (diagnostics, hover, completion, go to definition, signature help). Requires the DAL CLI built with --features lsp.
  • Tasks: "Run DAL file" and "Check DAL file" (Run Task / Ctrl+Shift+B).

Requirements

  • DAL CLI on your PATH, built with LSP support:
    cargo build --release --features lsp
    # or: cargo install --path . --features lsp
    
  • Node.js 18+ (for npm install when developing the extension).

Installation

From source (development)

  1. Clone the repo and build DAL with LSP: cargo build --release --features lsp.
  2. Install extension dependencies: cd vscode-dal && npm install.
  3. In VS Code/Cursor: Run > Run Without Debugging (F5) from the vscode-dal folder to launch a new window with the extension loaded, or Extensions > ... > Install from VSIX if you package the extension.

Package as VSIX (optional)

cd vscode-dal
npm install -g @vscode/vsce
vsce package
# Install the generated .vsix via: Extensions > ... > Install from VSIX

Configuration

Setting Default Description
dal.languageServerPath dal Path to the DAL executable.
dal.languageServerArgs ["lsp"] Arguments to start the LSP.

Documentation

  • IDE and Agent Integration — LSP setup, manual config, and agent tool schema.
  • Public Documentation Index — DAL docs and stdlib.

License

Apache-2.0 (same as the main repo).

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