Features
- Odoc document links in editor (open, by N1ark): Implements
textDocument/documentLinkanddocumentLink/resolveso odoc references ({!t},{{:url} text},@see) render as clickable links in the editor. Cross-module and stdlib references resolve once the project is built. #2139
Compatibility and Releases
- Code actions for
Unbound module/Unbound value(open, by ulugbekna): Proposes quick-fixes to create the missing file, qualify the reference, or open the module. Updated 2026-08-16 with import-fix design notes referencing TypeScript prior art. #494
Fixes
-
Unused-code quick fixes now match Merlin diagnostics (merged, by dayangac): Classifies diagnostics by warning number (e.g.
Warning 33: unused open B.) instead of bare substrings, making "Remove unused open/type/module/constructor/case/rec" and "Mark as unused" actions reachable in normal builds. #2117 -
Create-counterpart action checks client capabilities (merged, by dayangac): The "open related source" code action now offers file creation only when the client advertises both
workspaceEdit.documentChangesand thecreateresource operation; otherwise it offers only the open action for an existing file. #2115 -
Alert payloads no longer trigger destructive code actions (merged, by rgrinberg): The unused-code matcher rejects arbitrary diagnostic text (e.g. a deprecation warning containing "unused open"), preventing accidental module removal. #2141
-
Position encoding mismatch with UTF-16 clients (open, by panglesd): When the client negotiates UTF-16 (e.g. VS Code), Merlin's UTF-8 positions are not converted, placing diagnostics and semantic tokens at wrong offsets for multi-byte characters. #2138