Skip to content

Conversation

@xvw
Copy link
Collaborator

@xvw xvw commented Dec 16, 2025

This PR adds three custom request:

Adding an optional parameter to definition/declaration/type-definition search queries posed problems because the parameter types are generated by the Cinaps preprocessor, hence the addition of a custom request (based on the LSP request code).

Copy link
Collaborator

@voodoos voodoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, just need to sanitize the path in the test...

@voodoos
Copy link
Collaborator

voodoos commented Dec 18, 2025

Thanks @xvw !

@voodoos voodoos merged commit bde5a05 into ocaml:master Dec 18, 2025
4 of 6 checks passed
voodoos added a commit to voodoos/opam-repository that referenced this pull request Dec 20, 2025
CHANGES:

## Features

- Make `code-lens` for nested let bindings configurable (ocaml/ocaml-lsp#1567)
- Add support for `.mlx` files, including formatting via `ocamlformat-mlx` and most OCaml LSP features (diagnostics, code actions, hover, etc.) (ocaml/ocaml-lsp#1528)
- Add `typeExpression` custom request (ocaml/ocaml-lsp#1576)
- Add `locate` custom request (ocaml/ocaml-lsp#1576)
- Add `phrase` custom request (ocaml/ocaml-lsp#1576)

## Fixes

- Improve precision of collected metrics timestamps. (ocaml/ocaml-lsp#1565)
- Fallback on `.merlin` configuration if no `dune-project` file is found and if
  `dot-merlin-reader` is installed. (ocaml/ocaml-lsp#1563, fixes ocaml/ocaml-lsp#1522)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[protocol] add an optional parameter for looking for a given identifier for definiton/declaration request

2 participants