AL Differ

Active

A VS Code extension that diffs AL files structurally, matching objects, fields, and procedures by identity instead of comparing lines of text.

A VS Code extension for structural diff of AL code. Instead of line-by-line comparison, it uses tree-sitter-al to parse both files into syntax trees and matches constructs by identity (name, kind). The result: renamed procedures, moved fields, and added triggers show up as what they are, not as walls of red and green.

Eight change categories (logic, property, structural, cosmetic, moved, renamed, added, deleted) each get distinct colors. A collapsible DiffTree panel in the activity bar shows every changed construct with status badges. Four view modes: full construct side-by-side, context lines, unified inline, and side-by-side with aligned spacers. Editor decorations add gutter dots and background highlights in the standard VS Code diff editor.

Early preview on the VS Code Marketplace. Built on tree-sitter-al.