Skip to content
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

Support Call Hierarchy Requests #4044

Closed
ckipp01 opened this issue Feb 10, 2021 · 6 comments
Closed

Support Call Hierarchy Requests #4044

ckipp01 opened this issue Feb 10, 2021 · 6 comments
Assignees
Labels
feature-request Used for feature requests

Comments

@ckipp01
Copy link
Member

ckipp01 commented Feb 10, 2021

In LSP 3.16 support for Call Hierarchy requests were added. You can find information about them here in the spec.

You can see an example of this from Rust, which will give you an idea of what it looks like:

rust-lang/rust-analyzer#2698
Search terms:
LSP, call hierarchy

@tgodzik
Copy link
Contributor

tgodzik commented Feb 10, 2021

Btw. we need to wait for eclipse-lsp4j/lsp4j#466

@ckipp01
Copy link
Member Author

ckipp01 commented Feb 10, 2021

Btw. we need to wait for eclipse/lsp4j#466

I'm pretty sure it was included in https://github.com/eclipse/lsp4j/releases/tag/v0.10.0

@tgodzik
Copy link
Contributor

tgodzik commented Feb 10, 2021

Ach, that might be, I though that no actual work was done on 3.16, but:

Implemented LSP version 3.16.0 (specification is not finalized yet)

@ckipp01
Copy link
Member Author

ckipp01 commented Feb 10, 2021

Ach, that might be, I though that no actual work was done on 3.16, but:

Implemented LSP version 3.16.0 (specification is not finalized yet)

🤔 it looks like some stuff is there and was included in eclipse-lsp4j/lsp4j#456, but then there was another follow up eclipse-lsp4j/lsp4j#472. So it's half there 😆

@nixel2007
Copy link

nixel2007 commented Feb 10, 2021

You could use snapshot builds from master branch (like jitpack.io). CallHierarchy works pretty well on bsl language server from snapshot build (https://github.com/1c-syntax/bsl-language-server/blob/develop/build.gradle.kts#L60)

@riiswa
Copy link
Contributor

riiswa commented Jun 20, 2022

Hey! I will start to work on this feature :)

@tgodzik tgodzik transferred this issue from scalameta/metals-feature-requests Jun 20, 2022
@tgodzik tgodzik added the feature-request Used for feature requests label Jun 20, 2022
@tgodzik tgodzik closed this as completed Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for feature requests
Projects
None yet
Development

No branches or pull requests

4 participants