Tools covers builds, package management, editors, documentation and JavaScript compilation.
W34.2026 · 17–23 Aug/ocaml/ocaml-lsp
Features
#1986 (open, updated 2026-08-23): Adds textDocument/onTypeFormatting for OCaml and ocamllex files via an optional ocp-indent-rpc helper process. Newline-triggered requests edit only the new line's leading whitespace; a missing or failed helper degrades to no edits.
Fixes
#2143 (open, filed 2026-08-21): On OCaml 4.14, when a warning-as-error and a type error share the same source range, the LSP server reports only the first (the warning). The real type error is suppressed. No fix merged yet.
Compatibility and Releases
#2142 (closed 2026-08-21): Stdune API changes in dune trunk (#15880) break ocaml-lsp-server compilation. The specific Unix_env type mismatch was already resolved in-tree; the issue was closed pending coordinated release with the next dune.