LanguageClient-neovim
LanguageClient-neovim copied to clipboard
Support Full protocol
Official
General
- [x] :leftwards_arrow_with_hook: initialize
- [x] :arrow_right: initialized
- [x] :leftwards_arrow_with_hook: shutdown
- [x] :arrow_right: exit
- [ ] :arrow_right: :arrow_left: $/cancelRequest
Window
- [x] :arrow_left: window/showMessage
- [ ] :arrow_right_hook: window/showMessageRequest
- [x] :arrow_left: window/logMessage
Telemetry
- [ ] :arrow_left: telemetry/event
Client
- [x] :arrow_right_hook: client/registerCapability
- [x] :arrow_right_hook: client/unregisterCapability
Workspace
- [ ] :arrow_right_hook: workspace/workspaceFolders
- [ ] :arrow_right: workspace/didChangeWorkspaceFolders
- [x] :arrow_right: workspace/didChangeConfiguration
- [ ] :arrow_right_hook: workspace/configuration
- [x] :arrow_right: workspace/didChangeWatchedFiles
- [x] :leftwards_arrow_with_hook: workspace/symbol
- [x] :leftwards_arrow_with_hook: workspace/executeCommand
- [x] :leftwards_arrow_with_hook: workspace/applyEdit
Text Synchronization
- [x] :arrow_right: textDocument/didOpen
- [x] :arrow_right: textDocument/didChange
- [ ] :arrow_right: textDocument/willSave
- [ ] :leftwards_arrow_with_hook: textDocument/willSaveWaitUntil
- [x] :arrow_right: textDocument/didSave
- [x] :arrow_right: textDocument/didClose
Diagnostics
- [x] :arrow_left: textDocument/publishDiagnostics
Language Features
- [x] :leftwards_arrow_with_hook: textDocument/completion
- [x] :leftwards_arrow_with_hook: completionItem/resolve
- [x] :leftwards_arrow_with_hook: textDocument/hover
- [x] :leftwards_arrow_with_hook: textDocument/signatureHelp
- [x] :leftwards_arrow_with_hook: textDocument/definition
- [x] :leftwards_arrow_with_hook: textDocument/typeDefinition
- [x] :leftwards_arrow_with_hook: textDocument/implementation
- [x] :leftwards_arrow_with_hook: textDocument/references
- [x] :leftwards_arrow_with_hook: textDocument/documentHighlight
- [x] :leftwards_arrow_with_hook: textDocument/documentSymbol
- [x] :leftwards_arrow_with_hook: textDocument/codeAction
- [x] :leftwards_arrow_with_hook: textDocument/codeLens
- [x] :leftwards_arrow_with_hook: codeLens/resolve
- [ ] :leftwards_arrow_with_hook: textDocument/documentLink
- [ ] :leftwards_arrow_with_hook: documentLink/resolve
- [ ] :leftwards_arrow_with_hook: textDocument/documentColor
- [ ] :leftwards_arrow_with_hook: textDocument/colorPresentation
- [x] :leftwards_arrow_with_hook: textDocument/formatting
- [x] :leftwards_arrow_with_hook: textDocument/rangeFormatting
- [ ] :leftwards_arrow_with_hook: textDocument/onTypeFormatting
- [x] :leftwards_arrow_with_hook: textDocument/rename
workspace/didChangeConfiguration
implemented with https://github.com/autozimu/LanguageClient-neovim/commit/ef2b82c41a864e8b26e58897e4bb7f4dd5576cd2
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 [email protected] 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.