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

Call Hierarchy #109

Closed
GuSuku opened this issue Jul 14, 2020 · 6 comments
Closed

Call Hierarchy #109

GuSuku opened this issue Jul 14, 2020 · 6 comments
Assignees
Labels
bug Something isn't working needs investigation Could be an issue - needs investigation

Comments

@GuSuku
Copy link

GuSuku commented Jul 14, 2020

This popular feature request is best described within the documentation of LSP, but here is a summary:

A Call Hierarchy shows all calls from or to a function and allows you to drill into callers of callers and calls of calls.

This is currently available for JS/TS and Java language extension.

The only issue (microsoft/vscode-python#5127) tracking this in python language extension has been closed citing an existing upstream feature.

But the reason sounds a little inconsistent (see my comment at cited upstream issue microsoft/python-language-server#888)

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Jul 14, 2020
@jakebailey
Copy link
Member

Pylance has call hierarchy support already. I'll close this as done, but we're happy to take feedback on this feature.

@jahan01
Copy link

jahan01 commented Jul 15, 2020

@jakebailey actually i am never able to get call hierarchy for any python code. Is there an additional setting required ?

@jakebailey jakebailey reopened this Jul 15, 2020
@jakebailey jakebailey added the needs investigation Could be an issue - needs investigation label Jul 15, 2020
@jakebailey
Copy link
Member

I'll open this until we can go verify that this is/isn't working as expected.

@huguesv huguesv added the bug Something isn't working label Jul 16, 2020
@jahan01
Copy link

jahan01 commented Jul 28, 2020

Call hierarchy works since last update (not sure whether it was after vscode update or pylance update)

@huguesv
Copy link
Contributor

huguesv commented Jul 28, 2020

@jahan01 you're right, it looks like it was fixed in the python extension 2020.7.94776

@huguesv huguesv closed this as completed Jul 28, 2020
@GuSuku
Copy link
Author

GuSuku commented Jul 31, 2020

Works now. Both incoming calls and outgoing calls are showing up. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation Could be an issue - needs investigation
Projects
None yet
Development

No branches or pull requests

4 participants