microsoft / microsoft/vscode-cpptools
Connect c_cpp configuration with task
@elahehrashedi is already working on this.
Since Mar 8, 2022.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
- Ubuntu 17.10
- vscode 1.18.1
- C/C++ 0.14.2
Would it possible to connect tasks defined in tasks.json with a configuration defined in c_cpp_properties.json.
Alternatively be able to pass defines stated in c_cpp_properties.json for the active configuration into the command field of a task in tasks.json.
The aim would be to select build task depending on active configuration, just by pressing CTRL-B, or having the configurations task selected by default in the dropdown list.
Sorry for spamming the issues section, but I spent the day at work evaluating vscode in my real production environment.
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.