-
Notifications
You must be signed in to change notification settings - Fork 401
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 for Call Hierarchy #508
Comments
I am volunteering for this. The LSP part has been proposed via microsoft/vscode-languageserver-node#420. If this task is not yet taken, please assign to me. Thank you! |
@kittaakos sounds great! Seems I can't assign it to you, but feel free to start working on it |
@fbricon, the |
…JDT UI to LS. Signed-off-by: Akos Kitta <[email protected]>
…rPlugin`. Also, reused the `StringMatcher` from the CA instead of `jdt.ui.util`. Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Akos Kitta <[email protected]>
Closes eclipse-jdtls#508 Signed-off-by: Akos Kitta <[email protected]>
I've created a PR for this task. After copying the JDT UI code to the LS, I had to adjust the source in two relatively easy steps: c7ea1da, 33b0a71. (The rest is the actual implementation.) I would like to know how to proceed with the |
It should be straightforward. Let me work on a patch. |
Closes eclipse-jdtls#508 Signed-off-by: Akos Kitta <[email protected]>
Closes eclipse-jdtls#508 Signed-off-by: Akos Kitta <[email protected]>
Please note, I had to change the |
Patch submitted for review: https://git.eclipse.org/r/#/c/136044/ |
I participate in ccls development, call and inheritance hierarchy code may be easily reused in vscode extension: |
@Yanpas, can you please give us some hints on how to reuse the extension? I would be interested in trying the LS feature in VS Code. Thank you! |
There is an abstract class for all kind of hierarchies (Hierarchy in hierarchy.ts) and it's implementations. What it does is it's hides/reveals hierarchy pane in explorer window via "context" variables, awaits for requests to language server and creates TreeItems. I don't know the internals of java ls, so not sure if it is dropin replacement (e.g. ccls uses subtree requests). It is created in serverContext (instance of this class has the same lifetime as language server) and registered in registerTreeDataProvide. |
…JDT UI to LS. Signed-off-by: Akos Kitta <[email protected]>
…rPlugin`. Also, reused the `StringMatcher` from the CA instead of `jdt.ui.util`. Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Akos Kitta <[email protected]>
Closes eclipse-jdtls#508 Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
…rchy Signed-off-by: Jinbo Wang <[email protected]>
…JDT UI to LS. Signed-off-by: Akos Kitta <[email protected]>
…rPlugin`. Also, reused the `StringMatcher` from the CA instead of `jdt.ui.util`. Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Akos Kitta <[email protected]>
Closes eclipse-jdtls#508 Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
…rchy Signed-off-by: Jinbo Wang <[email protected]>
…rchy Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Akos Kitta <[email protected]>
Also, reused the `StringMatcher` from the CA instead of `jdt.ui.util`. Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Akos Kitta <[email protected]>
Closes #508 Signed-off-by: Akos Kitta <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
Add support for call hierarchies
The text was updated successfully, but these errors were encountered: