Tools covers builds, package management, editors, documentation and JavaScript compilation.
W47.2024 · 18–24 Nov/ocaml/ocaml-lsp
Features
OCaml LSP – dune formatting: Proposal to expose dune format-dune-file through the LSP protocol so editors other than VS Code can format dune files. Open issue #1396.
Compatibility and Releases
OCaml LSP – opam resolution: Upgrading jsonrpc and lsp to 1.19.0 forces an ocaml-lsp-server downgrade to 1.17.0 on OCaml 4.14.2 due to missing version constraints. Open issue #1405.
OCaml LSP – release: A new release including URI fragment support is planned; the issue was closed after maintainer confirmation. #1406.
Fixes
OCaml LSP – short-paths:-short-paths is forced to true in the server, preventing users from seeing full type paths in diagnostics. Open issue #1395 requests a per-project toggle.
OCaml LSP – hover display: Hovering over [@@deriving] on a mutually recursive type shows incorrect information depending on attribute placement. Open issue #1401, reproduced on 1.18.0.