Xref layer changes for textdocument/implementation (https://microsoft.github.io/language-server-protocol/specification#textDocument_implementation)
This currently shows all functions (implementations) that overrides a virtual function.
Differential D91626
[clangd] Implement textDocument/implementation (Xref layer) usaxena95 on Nov 17 2020, 6:12 AM. Authored by
Details
Xref layer changes for textdocument/implementation (https://microsoft.github.io/language-server-protocol/specification#textDocument_implementation) This currently shows all functions (implementations) that overrides a virtual function.
Diff Detail
Unit Tests Event TimelineComment Actions thanks, just reviewed at the xrefs code. I think we can narrow the scope of the patch by splitting it into two patches
Comment Actions Addressed comments.
Comment Actions The patch description is a bit stale now.
|
not sure ReferenceResult is the best fit -- we never set the HasMore field.
I'd use std::vector<LocatedSymbol>, this returns richer information, and the client (LSPServer can choose which location they want to return).