microsoft / microsoft/vscode-cpptools
The C/C++ DevTools extension causes find all references to give 0 results if Copilot invokes find all references
Nobody has claimed this yet.
- 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, a user-invoked Find All References will get cancelled and give 0 results if Copilot happens to invoke Find All References while the user-invoked operation is in progress.
Similarly, a user-invoked Find All References can confuse Copilot into believing there are 0 references if it is waiting for results from the Find All References tool.
A different invoker of FAR should have their request wait for the 1st requester's resut to finish instead of cancelling the 1st requestor's operation.
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 with "cpp-devtools.enableCppCodeEditingTools": true while a user-invoked Find All References and a Copilot-invoked request overlap. Trace how concurrent Find All References requests are cancelled or queued, and verify that the second invoker waits for the first result so both receive the completed references instead of 0 results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript
- Domain
- developer-experience, search, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100