microsoft / microsoft/vscode-cpptools
Button "Run C/C++ File" or "Debug C/C++ File" starts wrong task (not configured)
Open
@elahehrashedi is already working on this.
Since Jul 19, 2022.
tasks/build/debug
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Issue Type: Bug
Create simple C code. Create/configure task.json and launch.json.
Press button "Run C/C++ File" (1.). Starts wrong configuration (3.), but not configured one (4. 5.).

Pressing F5, Ctrl-F5 - works well.
Extension version: 1.10.8
VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:52.460Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
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.