microsoft / microsoft/vscode-cpptools
Call hierarchy for structure member variable should show function names that reference it
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Feature Request
It is possible in eclipse to invoke call hierarchy on structure member thus producing following call tree where this member is used:
With vscode however it is not possible as call hierarchy does not work for struct members and only find all references work which is great but not easy to work with because you don't have view of function names where it is used, so it's harder to really understand the code when you don't see self descriptive function names and all the locations where it is used without clicking manually:
Please improve call hierarchy for struct members to do the same as find all references does but also show function name where it is called similar to eclipse. Additionally would be nice to have call tree and to show many matches.
There was a similar request:
https://github.com/microsoft/vscode-cpptools/issues/11037
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the vscode-cpptools extension using a C/C++ struct member, then compare Call Hierarchy with Find All References. Review the related issue #11037 for prior discussion. Done means struct-member call hierarchy identifies the referencing function names and presents the requested call tree and matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100