-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Root task provider (Add root-directory and workspace-name properties to Task) #120133
Comments
(Experimental duplicate detection)
|
@elahehrashedi you can provide a Lines 6576 to 6577 in 02d3809
|
@alexr00 kindly, no, that doesn't solve the issue. I have tried both |
@alexr00 I modified the report above to show the results when using |
It is expect that we show all tasks from all sources when you run "Configure Task". I think this is the correct behavior, though the grouping/sorting could be improved as said in the issue linked (#89448). The issue you show with default build task is definitely a deficiency. Tracked by #35312, which I will investigate fixing for the June release. Thank you @elahehrashedi for bringing it to my attention! |
This issue is related to task provider behaviour in a multi-root workspace set up.
![image](https://user-images.githubusercontent.com/16143955/112901049-1c0de200-9099-11eb-8cb3-ae4025b36cc7.png)
Consider this multi-root workspace:
and let's say I want to configure a new task for a .cpp file in
![image](https://user-images.githubusercontent.com/16143955/113948520-e916cd00-97c1-11eb-8e56-96ede09b5fb8.png)
Root3
. This is what I get by running "Configure Task" (the other root's tasks will be shown as well).A similar issue arises when trying to set a default task in
![image](https://user-images.githubusercontent.com/16143955/113948685-4f035480-97c2-11eb-83d5-f48f336f2d0a.png)
Root3
. there can be other defaults in every root. but the default is picked fromroot1
.@alexr00 I know you are tracking this issue already. Just for having it all in one place, I put the related issues here:
#111037
#99276 (possibly showing the tasks for the working directory on the top of the list of the tasks, e.g. #89448).
#35312
The same issue may need to be resolved if multiple workspaces is going to be supported:
#43188
The text was updated successfully, but these errors were encountered: