Resolve completions properly (#18212)
Related to https://github.com/rust-lang/rust-analyzer/pull/18167 * Declare more completion item fields in the client completion resolve capabilities * Do resolve completions even if their docs are present * Instead, do not resolve completions that could not be resolved when handling the remote client resolve requests * Do replace the old lsp completion data with the resolved one Release Notes: - Improved completion resolve mechanism
This commit is contained in:
parent
bb7d9d3525
commit
05d18321db
3 changed files with 35 additions and 11 deletions
|
@ -1219,6 +1219,7 @@ message ResolveCompletionDocumentationResponse {
|
|||
Anchor old_start = 3;
|
||||
Anchor old_end = 4;
|
||||
string new_text = 5;
|
||||
bytes lsp_completion = 6;
|
||||
}
|
||||
|
||||
message ResolveInlayHint {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue