1

I'm just starting to code C++ with the VS Code. Is it possible to set default configurations (json files) for each project? Right now I have to manually create these files and configure them for each program.

Thanks, Roie

2
  • Do you mean that whenever you create a new workspace the same tasks.json (as an example) will be generated? Commented Mar 7, 2019 at 12:51
  • Exactly. Without needing to configure for each project. Commented Mar 7, 2019 at 13:15

1 Answer 1

1

It seems to be not possible currently. You can monitor this issue from the vscode Github: Shared configuration (tasks/settings) #1435

Global tasks in a task.json file are still on the agenda (to get parity with launch.json). However it is a matter of priorities when they will come. (Oct 26, 2018)

So you would have to build something yourself like a python or bash script that automatically generates the json files for you.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.