microsoft / microsoft/vscode-cpptools
The C/C++ DevTools can cause around 20 Find All References calls for a symbol with 450 references
@sean-mcmanus is already working on this.
Since Mar 12, 2026.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
With the C/C++ DevTools extension installed with "cpp-devtools.enableCppCodeEditingTools": true and a .github/copilot-instructions.md which is sufficient to get it to invoke the tools, ask copilot "which files contain references to class myClass" where myClass has 450 references across 30 TUs of reasonable size.
Bug: It'll issue a find all references call 20 times (potentially taking 45 seconds each time), which is really slow and the user can easily mistake it for being in an infinite loop. It sounds like the results from the 1st Find All References are supposed to be cached at some level.
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.
Assessment
This issue has not been assessed yet.