Features
-
Open dune file code action (merged): A new code action searches parent directories for the nearest
dunefile and opens it viawindow/showDocument. Stops atdune-projectordune-workspaceboundaries. #1817 -
Semantic highlighting: operator classification (merged): OCaml symbolic and word operators now emit the standard
operatortoken type in bindings, applications, and signatures. Binding operators (let*,and*) are included. #1831 -
Dune event tracing (merged): The
$/setTracesetting now emits$/logTracenotifications for Dune RPC connections, build events, and thedune ocaml-merlinconfiguration process. Off level computes nothing. #1899
Compatibility and Releases
- LSP 3.18 spec update (merged): The bundled metamodel and generated OCaml types now target LSP 3.18.0, adding workspace text-document-content requests, code-action tags, snippet edits, and related protocol fields. No user-facing behaviour change expected. #1749
Fixes
-
Document-symbol selectionRange containment (merged):
textDocument/documentSymbolnow clips or falls back to the symbol range when Merlin returns an out-of-bounds selection. Prevents VS Code from rejecting the entire response. #1775 -
Polymorphic-variant backtick completion range (merged): Completion immediately after a lone backtick now produces a replacement range covering the typed character instead of a zero-width insert. Fixes #1427. #1823
-
Completion protocol compliance (merged): Sort keys widen past 10 000 items; non-ASCII identifiers and CRLF prefixes parse correctly; deprecation uses
CompletionItem.tagswhen supported; polymorphic variants reportConstructorwhen the client lacksEnumMember. #1883, #1886, #1903, #1887 -
Semantic-tokens capability negotiation (merged): The server advertises
semanticTokensProvideronly when the client declares support, requires the relative format and full-request capability, and honours the delta opt-out. #1851, #1853, #1856, #1859