Thicket thicket
ocaml
REPOS 9

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

W31.2026 · 27 Jul – 2 Augocaml/ocaml-lsp

Features

  • LSP 3.18 codeAction/resolve for inline edits (merged). Clients advertising resolveSupport now receive inline code-action edits lazily via codeAction/resolve instead of eagerly in the initial response. Reduces round-trip payload for unused-binding and other inline actions. #1808

  • Destruct-line on inline and whole-match expressions (merged). The destruct-line code action now recognises match expressions embedded in larger lines and accepts ranges covering the entire match, so the action is available at the match token where the diagnostic is reported. Fixes #1595. #1829

Compatibility and Releases

  • 1.28.0-506~preview released 2026-07-31. Bundles the LSP 3.18 metamodel update, operator semantic highlighting, Dune trace notifications, the open-dune code action, and the fixes listed above. #release

  • Dune RPC polling kept responsive (merged). Connected Dune instance runners are now scheduled in the active fiber pool so the registry poll loop continues observing workspace changes after the first connection. Previously the poll loop stopped after the first Dune connection, leaving stale diagnostics. #1919

Fixes

  • Function-parameter inlay hints enabled without client configuration (merged). Config_data.default now sets hint_function_params = true, matching the [@default true] used when an inlayHints object is deserialized. Clients that never send workspace/didChangeConfiguration now see parameter hints. Fixes #1371. #2097

  • Missing dune binary reported as a diagnostic (merged). A missing project build-system executable no longer aborts didOpen and discards the document. The server reports the failure as a diagnostic and keeps the document open with fallback configuration, so hover and other features remain available. Fixes #1417. #1814

  • Completion replaces the full identifier suffix (merged). Selecting is_prefix from String.is_pr|word now replaces the entire is_prword token instead of leaving the trailing word behind. Fixes #838. #1964

  • Infix operator rename excludes surrounding parentheses (merged). prepareRename and rename edits for symbolic operators such as (^*$) now target only the operator token, so clients prefill the bare name and edits preserve the surrounding syntax. Fixes #1190. #1966

  • FreeBSD build: include <sys/mount.h> for statfs (merged). The vendored libev now uses the correct header on FreeBSD, resolving the sys/statfs.h: No such file or directory compilation failure. Fixes #1069. #2070