this repo has no description

[new release] lsp (3 packages) (1.18.0)

CHANGES:

## Features

- Introduce a configuration option to control dune diagnostics. The option is
called `duneDiganostics` and it may be set to `{ enable: false }` to disable
diagnostics. (ocaml/ocaml-lsp#1221)

- Support folding of `ifthenelse` expressions (ocaml/ocaml-lsp#1031)

- Improve hover behavior (ocaml/ocaml-lsp#1245)

Hovers are no longer displaye on useless parsetree nodes such as keywords,
comments, etc.

Multiline hovers are now filtered away.

Display expanded ppx's in the hover window.

- Improve document symbols (ocaml/ocaml-lsp#1247)

Use the parse tree instead of the typed tree. This means that document
symbols will work even if the source code doesn't type check.

Include symbols at arbitrary depth.

Differentiate functions / types / variants / etc.

This now includes PPXs like `let%expect_test` or `let%bench` in the outline.

- Introduce a `destruct-line` code action. This is an improved version of the
old `destruct` code action. (ocaml/ocaml-lsp#1283)

- Improve signature inference to only include types for elements that were
absent from the signature. Previously, all signature items would always be
inserted. (ocaml/ocaml-lsp#1289)

- Add an `update-signature` code action to update the types of elements that
were already present in the signature (ocaml/ocaml-lsp#1289)

- Add custom
[`ocamllsp/merlinCallCompatible`](https://github.com/ocaml/ocaml-lsp/blob/e165f6a3962c356adc7364b9ca71788e93489dd0/ocaml-lsp-server/docs/ocamllsp/merlinCallCompatible-spec.md)
request (ocaml/ocaml-lsp#1265)

- Add custom [`ocamllsp/typeEnclosing`](https://github.com/ocaml/ocaml-lsp/blob/109801e56f2060caf4487427bede28b824f4f1fe/ocaml-lsp-server/docs/ocamllsp/typeEnclosing-spec.md) request (ocaml/ocaml-lsp#1304)

## Fixes

- Detect document kind by looking at merlin's `suffixes` config.

This enables more lsp features for non-.ml/.mli files. Though it still
depends on merlin's support. (ocaml/ocaml-lsp#1237)

- Correctly accept the `--clientProcessId` flag. (ocaml/ocaml-lsp#1242)

- Disable automatic completion and signature help inside comments (ocaml/ocaml-lsp#1246)

- Includes a new optional/configurable option to toggle syntax documentation. If
toggled on, allows display of syntax documentation on hover tooltips. Can be
controlled via environment variables and by GUI for VS code. (ocaml/ocaml-lsp#1218)

- For completions on labels that the LSP gets from merlin, take into account
whether the prefix being completed starts with `~` or `?`. Change the label
completions that start with `?` to start with `~` when the prefix being
completed starts with `~`. (ocaml/ocaml-lsp#1277)

- Fix document syncing (ocaml/ocaml-lsp#1278, ocaml/ocaml-lsp#1280, fixes ocaml/ocaml-lsp#1207)

- Stop generating inlay hints on generated code (ocaml/ocaml-lsp#1290)

- Fix parenthesizing of function types in `SignatureHelp` (ocaml/ocaml-lsp#1296)

- Fix syntax documentation rendering (ocaml/ocaml-lsp#1318)

Changed files
+175
packages
jsonrpc
jsonrpc.1.18.0
lsp
lsp.1.18.0
ocaml-lsp-server
ocaml-lsp-server.1.18.0
+47
packages/jsonrpc/jsonrpc.1.18.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Jsonrpc protocol implemenation"
+
description: "See https://www.jsonrpc.org/specification"
+
maintainer: ["Rudi Grinberg <me@rgrinberg.com>"]
+
authors: [
+
"Andrey Popp <8mayday@gmail.com>"
+
"Rusty Key <iam@stfoo.ru>"
+
"Louis Roché <louis@louisroche.net>"
+
"Oleksiy Golovko <alexei.golovko@gmail.com>"
+
"Rudi Grinberg <me@rgrinberg.com>"
+
"Sacha Ayoun <sachaayoun@gmail.com>"
+
"cannorin <cannorin@gmail.com>"
+
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
+
"Thibaut Mattio <thibaut.mattio@gmail.com>"
+
"Max Lantas <mnxndev@outlook.com>"
+
]
+
license: "ISC"
+
homepage: "https://github.com/ocaml/ocaml-lsp"
+
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
+
depends: [
+
"dune" {>= "3.0"}
+
"ocaml" {>= "4.08"}
+
"odoc" {with-doc}
+
]
+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@doc" {with-doc}
+
]
+
]
+
url {
+
src:
+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.18.0/lsp-1.18.0.tbz"
+
checksum: [
+
"sha256=b59da43ccfd2ffd277c9e5f695a0e39c72c0d78e1bf2cbf2f62c1a7b7da75f03"
+
"sha512=be24188a2c63bf3a255c8085a8db067fa3d77d8ec989a7c9ba623bfea139455cf9eef6dd543d1bd276321abe77403c51b107745fbf4aa090e5902645dfb0343b"
+
]
+
}
+
x-commit-hash: "58c71c7d5a3e6d6c143a7d87896d7ae9d2fec547"
+57
packages/lsp/lsp.1.18.0/opam
···
+
opam-version: "2.0"
+
synopsis: "LSP protocol implementation in OCaml"
+
description: """
+
+
Implementation of the LSP protocol in OCaml. It is designed to be as portable as
+
possible and does not make any assumptions about IO.
+
"""
+
maintainer: ["Rudi Grinberg <me@rgrinberg.com>"]
+
authors: [
+
"Andrey Popp <8mayday@gmail.com>"
+
"Rusty Key <iam@stfoo.ru>"
+
"Louis Roché <louis@louisroche.net>"
+
"Oleksiy Golovko <alexei.golovko@gmail.com>"
+
"Rudi Grinberg <me@rgrinberg.com>"
+
"Sacha Ayoun <sachaayoun@gmail.com>"
+
"cannorin <cannorin@gmail.com>"
+
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
+
"Thibaut Mattio <thibaut.mattio@gmail.com>"
+
"Max Lantas <mnxndev@outlook.com>"
+
]
+
license: "ISC"
+
homepage: "https://github.com/ocaml/ocaml-lsp"
+
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
+
depends: [
+
"dune" {>= "3.0"}
+
"jsonrpc" {= version}
+
"yojson"
+
"ppx_yojson_conv_lib" {>= "v0.14"}
+
"cinaps" {with-test}
+
"ppx_expect" {>= "v0.15.0" & with-test}
+
"uutf" {>= "1.0.2"}
+
"odoc" {with-doc}
+
"ocaml" {>= "4.14"}
+
]
+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@doc" {with-doc}
+
]
+
]
+
url {
+
src:
+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.18.0/lsp-1.18.0.tbz"
+
checksum: [
+
"sha256=b59da43ccfd2ffd277c9e5f695a0e39c72c0d78e1bf2cbf2f62c1a7b7da75f03"
+
"sha512=be24188a2c63bf3a255c8085a8db067fa3d77d8ec989a7c9ba623bfea139455cf9eef6dd543d1bd276321abe77403c51b107745fbf4aa090e5902645dfb0343b"
+
]
+
}
+
x-commit-hash: "58c71c7d5a3e6d6c143a7d87896d7ae9d2fec547"
+71
packages/ocaml-lsp-server/ocaml-lsp-server.1.18.0/opam
···
+
opam-version: "2.0"
+
synopsis: "LSP Server for OCaml"
+
description: "An LSP server for OCaml."
+
maintainer: ["Rudi Grinberg <me@rgrinberg.com>"]
+
authors: [
+
"Andrey Popp <8mayday@gmail.com>"
+
"Rusty Key <iam@stfoo.ru>"
+
"Louis Roché <louis@louisroche.net>"
+
"Oleksiy Golovko <alexei.golovko@gmail.com>"
+
"Rudi Grinberg <me@rgrinberg.com>"
+
"Sacha Ayoun <sachaayoun@gmail.com>"
+
"cannorin <cannorin@gmail.com>"
+
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
+
"Thibaut Mattio <thibaut.mattio@gmail.com>"
+
"Max Lantas <mnxndev@outlook.com>"
+
]
+
license: "ISC"
+
homepage: "https://github.com/ocaml/ocaml-lsp"
+
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
+
depends: [
+
"dune" {>= "3.0"}
+
"yojson"
+
"base"
+
"lsp" {= version}
+
"jsonrpc" {= version}
+
"re" {>= "1.5.0"}
+
"ppx_yojson_conv_lib" {>= "v0.14"}
+
"dune-rpc" {>= "3.4.0"}
+
"chrome-trace" {>= "3.3.0"}
+
"dyn"
+
"stdune"
+
"fiber" {>= "3.1.1" & < "4.0.0"}
+
"xdg"
+
"ordering"
+
"dune-build-info"
+
"spawn"
+
"astring"
+
"camlp-streams"
+
"ppx_expect" {>= "v0.15.0" & with-test}
+
"ocamlformat" {with-test & = "0.26.2"}
+
"ocamlc-loc" {>= "3.7.0"}
+
"pp" {>= "1.1.2"}
+
"csexp" {>= "1.5"}
+
"ocamlformat-rpc-lib" {>= "0.21.0"}
+
"odoc" {with-doc}
+
"ocaml" {>= "4.14" & < "5.2"}
+
"merlin-lib" {>= "4.16" & < "5.0"}
+
]
+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@doc" {with-doc}
+
]
+
]
+
url {
+
src:
+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.18.0/lsp-1.18.0.tbz"
+
checksum: [
+
"sha256=b59da43ccfd2ffd277c9e5f695a0e39c72c0d78e1bf2cbf2f62c1a7b7da75f03"
+
"sha512=be24188a2c63bf3a255c8085a8db067fa3d77d8ec989a7c9ba623bfea139455cf9eef6dd543d1bd276321abe77403c51b107745fbf4aa090e5902645dfb0343b"
+
]
+
}
+
x-commit-hash: "58c71c7d5a3e6d6c143a7d87896d7ae9d2fec547"