[new release] lsp (3 packages) (1.17.0) #24957
Merged
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 protocol implementation in OCaml
CHANGES:
Fixes
Fix missing super & subscripts in markdown documentation. (retain super/subscripts in markdown conversion ocaml-lsp#1170)
Do not invoke dune at all if
--fallback-read-dot-merlin
flag is on. (Do not invoke dune at all if--fallback-read-dot-merlin
flag is on ocaml-lsp#1173)Fix semantic highlighting of infix operators that contain '.'. (Fix semantic highlighting of infix operators ocaml-lsp#1186)
Disable highlighting unit as an enum member to fix comment highlighting bug. (Disable semantic highlighting unit () as enum member ocaml-lsp#1185)
Improve type-on-hover and type-annotate efficiency by only formatting the type
of the first enclosing. (Specify
-index 0
in type-enclosing queries. ocaml-lsp#1191, Only return first result for type_enclosing. ocaml-lsp#1196)Fix the encoding of URI's to match how vscode does it (Fix uri to_string ocaml-lsp#1197)
Fix parsing of completion prefixes (Fix edge cases that prevent completion ocaml-lsp#1181)
Features
Compatibility with Odoc 2.3.0, with support for the introduced syntax: tables,
and "codeblock output" (Compatibility with odoc-parser.2.3.0 ocaml-lsp#1184)
Display text of references in doc strings (Display text of references in doc strings ocaml-lsp#1166)
Add mark/remove unused actions for open, types, for loop indexes, modules,
match cases, rec, and constructors (Extend mark/remove unused actions ocaml-lsp#1141)
Offer auto-completion for the keyword
in
(Completion forin
keyword ocaml-lsp#1217)