Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W05.2025 · 27 Jan – 2 Febocaml/ocaml-lsp

Features

  • ocaml-lsp (PR #1461, open): Replaces per-target recursive checks in Jump Code Actions and the Jump custom request with a single batched query. Reported response times drop from 523 ms to 244 ms (first) and 18 ms to 7 ms (subsequent). Depends on #1891. Link

  • ocaml-lsp (issue #1460, open): Requests language-specific inlay-hint toggles (type, parameter, chaining, closing-brace) analogous to rust-analyzer.inlayHints.*, rather than relying solely on the generic editor.inlayHints.enabled VS Code setting. Link

Compatibility and Releases

  • ocaml-lsp (PR #1451, merged 2025-01-31): Moves Typed_holes handling into Merlin, complementing #1888 which renames Texp_hole/Tmod_hole to Texp_typed_hole/Tmod_typed_hole. Code referencing the old identifiers must be updated. Link

  • ocaml-lsp-server (issue #1459, open): Build fails on FreeBSD 14.2 with OCaml 4.14.2 because the vendored ev.c includes sys/statfs.h, which is absent on that platform. Affects ocaml-lsp-server.1.20.1-4.14 via dune build. Link

  • ocaml-lsp-server (issue #1462, open): Dune 3.17.2 writes INDEX, SOURCE_ROOT, and UNIT_NAME configuration tags that ocaml-lsp-server 1.10.5 on OCaml 4.13 does not recognise, producing repeated "Unknown configuration tag" diagnostics. Maintainer recommends migrating to OCaml 4.14 or using an older Dune. Link