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
If I define a workspace wide task, I would like to specify that it depends on tasks defined in the tasks.json files of the folders inside the workspace. Example: I develop a program and a library, which is used by the program, inside the same workspace. Now I want to build the program and specify that the library must be built first. I have build tasks for both inside their respective tasks.json files, but I cannot make one depend on the other.
One possibility would be to have a build-all tasks in .code-workspace that depends on those sub tasks and it should resolve the sub-task names just like it resolves launch names of sub-launch files.
I do agree with @alexr00 that a task defined in one folder should not be referenced in another folder (#83065 (comment)). However, since workspace is used to manage folders, I think it reasonable to allow task in folders to be referenced in .code-workspace (and maybe vice versa).
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
If I define a workspace wide task, I would like to specify that it depends on tasks defined in the
tasks.json
files of the folders inside the workspace. Example: I develop a program and a library, which is used by the program, inside the same workspace. Now I want to build the program and specify that the library must be built first. I have build tasks for both inside their respectivetasks.json
files, but I cannot make one depend on the other.One possibility would be to have a build-all tasks in
.code-workspace
that depends on those sub tasks and it should resolve the sub-task names just like it resolves launch names of sub-launch files.Also see this Stackoverflow post.
The text was updated successfully, but these errors were encountered: