[new release] ocaml-lsp-server, lsp and jsonrpc (1.14.3) #22691
Closed
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.
LSP Server for OCaml
CHANGES:
Fixes
Fix document syncing for ranges that span an entire line (fix: document updates when char out of range ocaml-lsp#927)
Respect the client's completion item resolve and preSelect capabilities
(fix: respect completion item resolve capability ocaml-lsp#925, fix: respect item preSelect capability ocaml-lsp#936)
Disable polling for dune's watch mode on Windows and OCaml 4.14.0 (Mitigate ocaml/ocaml#11737 (windows-only) ocaml-lsp#935)
Features
Semantic highlighting support is enabled by default (feature(semantic-hl): enable semantic highlighting by default ocaml-lsp#933)
Re-enable
ocamlformat-rpc
for formatting code snippets (but not files) (re-enable ocamlformat-rpc ocaml-lsp#920, disable ofmt rpc for files ocaml-lsp#939)One needs to have either
ocamlformat
version > 0.21.0 or, otherwise,ocamlformat-rpc
package installed.Add custom ocamllsp/hoverExtended request (Add a new custom command ocamllsp/hoverExtended with support for variable verbosity ocaml-lsp#561)
Support utf-8 position encoding clients (feature: allow utf8 encoding ocaml-lsp#919)
Upgrade to merlin 4.7 and use merlin's
verbosity=smart
by default, whichallows unwrapping module alias types (chore: update merlin ocaml-lsp#942)
Fixes
Foo.Bar.x
(fix(semantic-hl): properly highlight longidents with spaces ocaml-lsp#932)