-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the textDocument/callHierarchy
extension
#520
Comments
We have discussed to model the call hierarchy as object graph and decided against it because it raises questions about loops, recursion, and depth. Instead we went with retrieving nodes only (and repeatedly). The latest proposal (which addresses some of your feedback) is here: microsoft/vscode#70231 (comment) |
The VS Code API has been finalized. |
Since the VS Code API has been finalized can the LSP side be finalized? |
Yes. A PR would currently speed this up :-). |
I merge the PR and did some cleanup work and added it to the spec. |
Closing the issue since the PR is merged. |
Requested to create a new issue. I haven't looked closely to the latest updates.
Pasted from #420 (comment)
I think the proposal has several deficiency that require further improvement. Comments inlined below:
In ccls (https://github.com/MaskRay/ccls/blob/master/src/messages/ccls_call.cc), we use:
The method
$ccls/call
was designed so that the result can either be a hierarchy or a flattened list (liketextDocument/references
).The text was updated successfully, but these errors were encountered: