Languageclient-neovim: Support Full protocol

Created on 16 Nov 2017  ·  15Comments  ·  Source: autozimu/LanguageClient-neovim

Official

General

Window

Telemetry

Client

Workspace

Text Synchronization

Diagnostics

Language Features

All 15 comments

The official links are all outdated, since the protocol spec has moved to https://microsoft.github.io/language-server-protocol/specification.

Hello.

The workspace/didChangeWatchedFiles would be pretty nice, as it seems it is missing for a real use case: https://github.com/rust-lang-nursery/rls/issues/546. The RLS uses it to rebuild the full dependency graph when the Cargo.toml manifest changes.

Hi, I see that textDocument/codeAction is implemented here. I'm trying to get his to work with a Scala LSP server (scala metals) that implements the remove unused imports action.

I'm wondering how can I get this to work? I tried mapping a command key to :call LanguageClient_textDocument_codeAction() but I guess I'm missing something, such as the unused imports diagnostics I get from the server.

First make sure you see the "unused imports" diagnostics.

If it still doesn't work well, file a issue.

Thanks, submitted #371

Looks like workspace/didChangeConfiguration is missing from next branch.

@DeltaEvo @autozimu Why did workspace/didChangeConfiguration get removed from the next branch? My language server expects it.

It seems like it got removed in this commit, I believe: https://github.com/autozimu/LanguageClient-neovim/commit/5228816283d7cf9f9348639e472b98e31c0a7f85.

It wasn’t removed. It hasn’t been implemented (yet).

On Mon, Apr 30, 2018 at 07:38 Joe Sweeney notifications@github.com wrote:

Why did workspace/didChangeConfiguration get removed from the next
branch? My language server expects it.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
https://github.com/autozimu/LanguageClient-neovim/issues/177#issuecomment-385418021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYt7zTGudzmOyCntkhjHlk2994-eKgTks5ttyHKgaJpZM4Qg8Gl
.

@autozimu Oh, ok. I saw the above comment with https://github.com/autozimu/LanguageClient-neovim/commit/ef2b82c41a864e8b26e58897e4bb7f4dd5576cd2 saying it was implemented so I assumed it must have been removed but it looks like it just hasn't been implemented in the Rust rewrite?

textDocument/documentHighlight implemented in 11b6d4980209614610d4b7005c4260a8a9180ced

Would be great to get "workspace/configuration"

Might be worth adding the textDocument.codeAction.codeActionLiteralSupport capability to this list.

Any updates on the ↩️ completionItem/resolve functionality ?
I recently hit a wall with it while using iamcco/vim-language-server - I initially opened an issue with them, and they informed me it was because of the lack of completion resolve on part of languageclient-neovim.

It should be working as of #1043. Note that that commit is merged only in the dev branch, and it seems like in the issue you opened you were using branch next. I'll create a new release to get those changes to the next branch some time next week but you can switch to dev and build from source if you want to get that now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nabezokodaikon picture nabezokodaikon  ·  4Comments

MaskRay picture MaskRay  ·  4Comments

gleachkr picture gleachkr  ·  5Comments

Avi-D-coder picture Avi-D-coder  ·  5Comments

martskins picture martskins  ·  3Comments