projects/al-lsp-for-agents
active al-lsp-for-agents order 01

AL LSP for Agents

AL Language Server Protocol integration for VS Code (GitHub Copilot) and Claude Code. Compiler-powered code intelligence, enriched hover with full property extraction, and configurable code quality diagnostics for Business Central development.

Stack
Go · LSP
Status
Active
Released
2026
License
GPL-3.0

Overview

Native integration of Microsoft’s AL Language Server into VS Code (GitHub Copilot agent mode) and Claude Code. Gives AI assistants the same code intelligence that VS Code has for Business Central development, using the actual AL compiler for analysis.

Go-compiled wrappers (Windows, Linux) with no runtime dependencies. Ships as a VS Code extension, Claude Code plugin, and standalone binaries. Automatically locates the newest AL extension version from your VS Code installation.

Features: go to definition, find references, hover with full property extraction (fields, actions), call hierarchy, code lens, and configurable code quality diagnostics (unused procedures, cyclomatic complexity, parameter count, fan-in, method length).

Highlights

Go to definition across tables, codeunits, enums, procedures
Hover with full property extraction (fields, actions)
Call hierarchy, find references, code lens
Multi-project workspaces with multiple AL apps
Ships as VS Code extension, Claude Code plugin, and binaries

Related writing

02