tower-lsp 0.8.0
Pre-release
Pre-release
Added
- Implement support for the following client-to-server messages:
textDocument/willSave
completionItem/resolve
textDocument/documentSymbol
textDocument/codeAction
textDocument/codeLens
codeLens/resolve
textDocument/formatting
Changed
LspService::call()
stops serving requests afterexit
notification, meaning there is no longer a need forExitReceiver::run_until_exit
and theServer::serve()
async method can now be awaited directly (PR #117).- Return
Option<String>
as service response type (PR #116). - Disable unused
nom
features for a hopefully lighter build (PR #112). - Link to current version of LSP specification in doc comments (PR #122).
Fixed
- Correctly handle backpressure using
Service::poll_ready()
(PR #117).
Removed
- Remove
ExitReceiver
type andLspService::close_handle()
method (PR #117).