Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] ocaml-lsp-server, lsp and jsonrpc (1.2.0) #17641

Merged
merged 4 commits into from
Nov 18, 2020

Conversation

rgrinberg
Copy link
Member

LSP Server for OCaml

CHANGES:

Features

Fixes

CHANGES:

## Features

- Add keyword completion

- Add go to declaration functionality to jump to a value's specification in a
  .mli file (ocaml/ocaml-lsp#294)

## Fixes

- ocaml/ocaml-lsp#245: correctly use mutexes on OpenBSD (ocaml/ocaml-lsp#264)

- ocaml/ocaml-lsp#268: Do not use vendored libraries when building the lsp package (ocaml/ocaml-lsp#260)

- ocaml/ocaml-lsp#271: Clear diagnostics when files are closed

- Disable non-prefix completion. There's no reliably way to trigger it and it
  can be slow.
@camelus
Copy link
Contributor

camelus commented Nov 16, 2020

Commit: 5b80671

A pull request by opam-seasoned @rgrinberg.

☀️ All lint checks passed 5b80671
  • These packages passed lint tests: jsonrpc.1.2.0, lsp.1.2.0, ocaml-lsp-server.1.2.0

☀️ Installability check (+3)
  • new installable packages (3): jsonrpc.1.2.0 lsp.1.2.0 ocaml-lsp-server.1.2.0

Copy link
Member

@kit-ty-kate kit-ty-kate left a comment

Choose a reason for hiding this comment

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

jsonrpc seemed to miss some dependencies on OCaml < 4.08:

#=== ERROR while compiling jsonrpc.1.2.0 ======================================#
# context              2.0.7 | linux/x86_64 | ocaml-base-compiler.4.07.1 | pinned(https://github.com/ocaml/ocaml-lsp/releases/download/1.2.0/jsonrpc-1.2.0.tbz)
# path                 ~/.opam/4.07/.opam-switch/build/jsonrpc.1.2.0
# command              ~/.opam/4.07/bin/dune build -p jsonrpc -j 72 @install
# exit-code            1
# env-file             ~/.opam/log/jsonrpc-24-b14e2e.env
# output-file          ~/.opam/log/jsonrpc-24-b14e2e.out
### output ###
# File "jsonrpc/src/dune", line 4, characters 13-26:
# 4 |  (preprocess future_syntax))
#                  ^^^^^^^^^^^^^
# Error: Program ocaml-syntax-shims not found in the tree or in PATH
#  (context: default)

I just fixed that.
Could the 3 fixes i've done be returned to the upstream opam files?

I'm just waiting for CI to check again, an answer for the question above and this should be good to go.

@rgrinberg
Copy link
Member Author

I'll push the fixes upstream shortly

@kit-ty-kate
Copy link
Member

Thanks a lot!

@kit-ty-kate kit-ty-kate merged commit 77efa8a into ocaml:master Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants