Tools covers builds, package management, editors, documentation and JavaScript compilation.
W15.2025 · 7–13 Apr/Tools
Features
ocaml-lsp: adds hintFunctionParams inlay hints showing parameter names at call sites; enabled by default. Merged 2025-04-10. (#1515, #1517)
ocaml-lsp: adds ocamllsp/jumpToTypedHole request for server-side typed-hole navigation with optional range filtering. Merged 2025-04-11. (#1516)
Merlin: adds triggerable inlay-hints for function parameters via textDocument/inlayHint; corrects non-deterministic hint output. Merged 2025-04-10. (#1923)
ocaml-lsp: opens a "combine-cases" code action merging selected one-line match cases into a single pattern. (#1514)
js_of_ocaml: open request for SharedArrayBuffer and Atomics support in wasm_of_ocaml for zero-copy shared-memory communication. (#1930)
opam: two open proposals restrict opam switch create <version> to packages in default-compiler, aligning with opam init changes. (#6465, #6466)
Fixes
ocaml-lsp: removes ocamlformat from the destruct code action, fixing cases where formatting stripped parentheses and made results uninsertable. Merged 2025-04-11. (#1519)
ocaml-lsp: adds error handling to definition_query for builtins, returning a descriptive message instead of failing silently. Merged 2025-04-11. (#1518)
js_of_ocaml: corrects documentation for Sys_js.read_file, which raises Sys_error rather than the documented Not_found on missing files. Closed. (#1925)
opam:opam pin add with a git+ URL and commit hash fails on Windows with a "refs/remotes/opam-ref-… not found" error; succeeds on Linux and macOS. No fix merged. (#6472)
Compatibility
js_of_ocaml: generated int64.js uses ES2022 static class fields, exceeding the ES6 level stated in the README. Users targeting ES6 should transpile with Babel. Closed. (#1906)
ocamlfind 1.9.5: Cygwin make install fails under opam 2.3.0~beta1 and OCaml 5.2.0; fix expected in opam 2.4.0~alpha1. (#84)