Query multiple LSPs for more types of requests (#29359)
This fixes an issue where lower-priority language servers cannot provide contentful responses even when the first capable server returned empty responses. Most of the diffs are copypasted since the existing implementations were also copypasted. Release Notes: - Improved Go to Definition / Declaration / Type Definition / Implementation and Find All References to include all results from different language servers
This commit is contained in:
parent
105acacff9
commit
5f70a9cf59
8 changed files with 617 additions and 93 deletions
|
@ -757,6 +757,11 @@ message MultiLspQuery {
|
|||
GetCodeLens get_code_lens = 8;
|
||||
GetDocumentDiagnostics get_document_diagnostics = 9;
|
||||
GetDocumentColor get_document_color = 10;
|
||||
GetDefinition get_definition = 11;
|
||||
GetDeclaration get_declaration = 12;
|
||||
GetTypeDefinition get_type_definition = 13;
|
||||
GetImplementation get_implementation = 14;
|
||||
GetReferences get_references = 15;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -795,6 +800,11 @@ message LspResponse {
|
|||
GetCodeLensResponse get_code_lens_response = 4;
|
||||
GetDocumentDiagnosticsResponse get_document_diagnostics_response = 5;
|
||||
GetDocumentColorResponse get_document_color_response = 6;
|
||||
GetDefinitionResponse get_definition_response = 8;
|
||||
GetDeclarationResponse get_declaration_response = 9;
|
||||
GetTypeDefinitionResponse get_type_definition_response = 10;
|
||||
GetImplementationResponse get_implementation_response = 11;
|
||||
GetReferencesResponse get_references_response = 12;
|
||||
}
|
||||
uint64 server_id = 7;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue