microsoft / microsoft/vscode-cpptools
Call hierarchy for structure member variable should show function names that reference it
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema nell’estensione vscode-cpptools usando un membro di struct C/C++, quindi confronta Call Hierarchy con Find All References. Esamina la issue correlata #11037 per la discussione precedente. Il lavoro è completato quando la gerarchia delle chiamate del membro di struct identifica i nomi delle funzioni che lo referenziano e presenta l’albero delle chiamate richiesto e le corrispondenze.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, typescript
- Ambito
- developer-experience, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100