Open elahehrashedi opened 2 years ago
I think we should not select the task as "default", it looks like setting is as default is causing some confusion:https://github.com/microsoft/vscode-cpptools/issues/9209
I think setting the task as default is good, since the most common case is probably compiling with a single compiler, but maybe instead we could add a command to easily switch the default and/or just add a setting to toggle the behavior.
We need to make a decision for this scenario:
if the user doesn't want the task to be a default anymore, they have to remove the "isDefault" property from their tasks.json file. The other way to design this is not to set the default and expect the user to run "Tasks: Configure Default Build Task" to set the default manually. The question is: what would be a more simple approach for setting the default?