AL LSP for Agents: Now in VS Code, and a New Home
AL LSP for Agents brings compiler-powered code intelligence to VS Code Copilot and Claude Code through language server tools. It enables AI agents to navigate AL codebases with features like go-to-definition, find references, call hierarchy analysis, and real-time code quality diagnostics without relying on text search.

post SShadowS
Key points
- VS Code extension registers eight Language Model Tools that give Copilot agent mode access to AL language server capabilities for symbol navigation and analysis
- Enriched hover now displays all declared properties on fields and actions, allowing AI agents to make informed decisions based on complete field and action metadata
- Configurable code quality diagnostics detect common AL code smells like unused procedures, high complexity, too many parameters, and long methods
- The tool integrates a Go wrapper coordinating the Microsoft AL Language Server with al-call-hierarchy for precise, compiler-aware answers instead of text-based searching
Heads up
- warning: “This is still a new feature, so expect changes as it matures.”
- gotcha: “having the tools available doesn’t mean the AI will use them.”
Context
- Features: go to definition, find references, call hierarchy analysis, code quality diagnostics, enriched hover with field properties, unused procedure detection, complexity warnings, fan-in analysis
- Versions: v1.5.2
Source: SShadowS, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.