-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 for variables, classes, macros, etc ... #11037
Comments
Yes. It's a much-awaited feature in vs code. I'm forced to use Eclipse CDT just for the call hierarchy feature. Please implement this feature as soon as possible. |
The Eclipse IDE documentation only mentions functions for call hierarchy. For variables, I'm not aware of there being a "hierarchy" but you can do "find all references" to see all the places it is used. Can you explain more how it works in Eclipse? For classes, I see Eclipse has a "Type Hierarchy" view that will let you see inheritance/interface implementation. That feature request is covered by #3799. |
@bobbrow Michelle and I discussed this -- it just shows nothing for Calls From and shows the (confirmed) users of the "non-function code item" for Calls To -- the advantage of Find All References is that the user functions can then be expanded to find their callers. So I don't think we need any more explanation from the users (I believe they're referring to the behavior for Java in Eclipse). |
The ability to combine both find all references and call hierarchy is really useful. |
This feature request is being closed due to insufficient upvotes. Please leave a 👍-upvote or 👎-downvote reaction on the issue to help us prioritize it. When enough upvotes are received, this issue will be eligible for our backlog. |
This feature request has received enough votes to be added to our backlog. |
Please see #11765 |
VScode should either warn saying, it is a variable and not a function hence Call Herarchie could not be shown. OR it should silently run Find All References whever variables are been searched upon for Call Herarchie. |
Feature Request
In Eclipse CDT, one can ask for call hierarchy not only for functions but for variables, classes and much more.
The symbol appears as the root of the hierarchy, the references to that symbol appears in the next level of hierarchy and so on.
It is very useful feature for the common engineer,
it could be great addition to the vscode features.
Thank you,
Tal.
The text was updated successfully, but these errors were encountered: