Tools covers builds, package management, editors, documentation and JavaScript compilation.
W42.2026 · 12–18 Oct/ocaml/ocaml-lsp
Features
Interactive completions with snippet edit slots for construct, destruct, and whole-call (multi-argument) items. Requires client snippet support. (#2212, #2204, #2199, #2198)
ocp-indent supported as an alternative formatter for document and range formatting; textDocument/onTypeFormatting available via the ocp-indent-rpc helper. (#2148, #1986)
textDocument/implementation now resolves type declarations in interface files, including nested modules, functor results, includes, and aliases. (#2074)
Semantic highlighting distinguishes operators from functions, classifies parameters and labels, and separates built-in from user-defined types. (#1831, #1857, #1858)
Dune RPC, build progress, and Merlin configuration activity are reported through LSP trace notifications. A code action opens the closest Dune file. (#1899, #1817)
Topiary formatter integration is under review; range formatting is not yet supported by Topiary, so the whole document is reformatted. (#2226, @toastal)
Fixes
Documentation corrected: the getDocumentation capability is handleGetDocumentation, not handleDocumentation; several typos in custom-request specs also fixed. Merged 2026-10-12. (#2229, @toyeshhm)
Compatibility and Releases
1.28.0 released 2026-10-12. Includes all features and fixes above; FreeBSD build fixed (statfs header path). (Release)