[new release] merlin and ocaml-lsp (6 packages) (4.19-414) #28070
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Editor helper, provides completion, typing and source browsing in Vim and Emacs
Merlin CHANGES:
Mon Jun 23 10:10:42 CEST 2025
Merlin_analysis.Typed_hole(Rename
Texp_holeandTmod_holemerlin#1888)inlay-hintsfix inlay hints on function parameters (Inlay hint function params merlin#1923)This is exposed through the existing
:MerlinSearchcommand, thatswitches between search-by-type and polarity search depending on the
first character of the query.
OCaml-LSP CHANGES:
Features
Make
inlay-hintfor function parameters configurable (AddhintFunctionParamsinlay hints ocaml-lsp#1515)Add custom
ocamllsp/jumpToTypedHoleto navigate through typed holes (More control on typed holes (for navigation) ocaml-lsp#1516)Add a code-action for combining pattern cases (just relaying on regex) (Add code action combine cases ocaml-lsp#1514)
Allow (by configuration) shortening of diagnostics (just highlighting the first line) (Shorten Merlin diagnostics error ocaml-lsp#1513)
Fix
yojson_of_tforNullable_option: serializeNoneasNullinstead of asserting false (Correct nullable_option serialization ocaml-lsp#1525 fixes Signature help and nullable option:assert falseocaml-lsp#1524)Fixes
Support for
class,class type,methodandpropertyforDocumentSymbolquery (Add support for class, class types and methods in DocumentSymbol ocaml-lsp#1487 fixes documentSymbol missing elements ocaml-lsp#1449)Fix
inlay-hintfor function parameters (AddhintFunctionParamsinlay hints ocaml-lsp#1515)More precise diagnostics in the event of a failed identifier search (
Definition_query) (Handle error cases indefinition_queryocaml-lsp#1518)Remove
ocamlformatapplication afterdestruct(that remove some useful parenthesis) (Remove formatting in code action destruct ocaml-lsp#1519)Add a new server option
standardHover, that can be used by clients todisable the default hover provider. When
standardHover = falsetextDocument/hoverrequests always returns with empty result. (Add a new option to mute the hover response. ocaml-lsp#1416)