Tools covers builds, package management, editors, documentation and JavaScript compilation.
W29.2026 · 13–19 Jul/ocaml/ocaml-lsp
Fixes
Merged: workspace/symbol now resolves each outline item's source path independently, preferring existing workspace files over Dune build-directory paths. Symbols for generated code no longer point to nonexistent locations. #1742
Merged: The server accepts the first dynamic workspace/didChangeWorkspaceFolders update when workspaceFolders was null at initialization, instead of asserting. #1747
Merged: textDocument/formatting routes only Document.Dune.t values to the Dune S-expression formatter. OCamllex, Menhir, and Cram documents now return no edits instead of being misrouted through Dune RPC. #1621
Open: textDocument/documentSymbol falls back to range when Merlin's selectionRange violates the LSP containment invariant, preventing VS Code from discarding the entire symbol response. #1750
Features
Open: Updates the bundled LSP meta-model from 3.17 to 3.18.0, adding workspace text-document-content requests, snippet edits, code-action tags, and related protocol types. Downstream call sites are updated to the new API shapes. #1749
Compatibility and Releases
Merged: Development tooling updated to Dune 3.24 and OCamlFormat 0.29.0; make dev now creates an OCaml 5.5 switch matching package constraints. #1740
Merged: The legacy Jest/Node/Yarn end-to-test harness is removed; all e2e tests now run in the OCaml expect-test suite. Node and Yarn are no longer required to build or test. #1726
Open: A missing <workspace>/_build/default directory is treated as an empty symbol source instead of emitting a window/showMessage warning on every workspace/symbol request. #1666