You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Multi-root workspace, provide support for Workspace tasks
Reacted by B.E. Henriksen, Aaron Danielson, Cody Rigney, Ivan Kravets, Mina Lohan, Michael Delaney, Daniel Sanz Ausin, Dmytro Chyrkin, Benchuk, Kevin Prudente and 19 more
Is there any way to reference tasks from launch configurations defined in a .code-workspace file, even if the workspace is not a MR workspace?
My setup is just a simple .code-workspace file in the root folder, configured with
"folders": [{
"path": "."
}]
I have launch configurations added in the workspace file, but cannot use a preLaunchTask because I keep getting the error mentioned in #58818 (comment). I tried moving tasks.json in the root folder next to the workspace file, because the error seems to complain about folder location. But the error is the same.
Am I missing something, or having launch configs in the workspace itself, single or multi-root, just doesn't work properly?
Activity
[-]Support Workspace tasks and launches in a MR workspace[/-][+]Support Workspace tasks in a MR workspace[/+]coyoteecd commentedon Nov 2, 2019
Is there any way to reference tasks from launch configurations defined in a .code-workspace file, even if the workspace is not a MR workspace?
My setup is just a simple .code-workspace file in the root folder, configured with
I have launch configurations added in the workspace file, but cannot use a preLaunchTask because I keep getting the error mentioned in #58818 (comment). I tried moving tasks.json in the root folder next to the workspace file, because the error seems to complain about folder location. But the error is the same.
Am I missing something, or having launch configs in the workspace itself, single or multi-root, just doesn't work properly?
sandy081 commentedon Nov 11, 2019
Alex Ross (@alexr00) I remember you started on this. May I know the status?
alexr00 commentedon Nov 12, 2019
It's in. Tasks from a folder cannot be referenced from tasks in workspace files. The user settings tasks are still in a PR for you.
sandy081 commentedon Nov 13, 2019
Ok then I will close this and the other issues can be (or already) tracked separately.