microsoft / microsoft/vscode-cpptools

Connect c_cpp configuration with task

Open
#1,285 14 comments 4 reactions 1 assignee View on GitHub

@elahehrashedi is already working on this.

Since Mar 8, 2022.

Feature Request help wanted Language Service tasks/build/debug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.