Skip to content

The C/C++ DevTools can cause around 20 Find All References calls for a symbol with 450 references #14267

@sean-mcmanus

Description

@sean-mcmanus

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.

Metadata

Metadata

Assignees

Type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions