-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Build task not available when pressing cmd+shift+B immediately after window opens #183989
Comments
@roblourens does your other repo have a default build task as well? |
I can repro in a multi root repo but not when I have a single folder open. I think this might be by design. |
Yes it also has a default build task |
That's the issue. Since there are several, we don't know which one you want to run. Thus the quick pick |
There are two, but you're showing me like 15 tasks. But that's not the real problem in this issue, the problem is the first two screenshots where it doesn't show up at all. |
That case occurs when it takes more than 200 ms to get the task quick pick entries.
|
I messed with the code to force that call to time out, and when that happens, I see the quick pick not show up at all |
Is it possible to increase the waiting time to get entries somewhat? |
Just hit this but during a long running session, not after window opening. Unsure of what happened to get to that state: Screen.Recording.2023-06-09.at.09.40.12.mov |
Very consistent repro for me, not timing dependent:
🐛 VS Code no longer knows what's the default build task. |
@joaomoreno after your above steps, does the quick pick open? also, when those tasks are there with the 🛠 icon, are they reconnected to? |
here's what I'm seeing - I'll keep trying to repro |
Ok - here's the issue - when the build command is triggered before the default build task has been reconnected to, that request is processed eventually after the tasks have been reconnected to. But once again, that only occurs when there's no default build task - and not sure why that is Edit: that wasn't the issue |
I have this set, dunno if that's part of it |
maybe related #179684 |
yep, pretty sure this is related - when I reproduced, the tasks length was 0 /duplicate #179684 reopen if you hit it again |
This does not reproduce for me. |
/duplicate #173384 |
Maybe related to #173184
This is what I see when I wait a bit after starting vscode before pressing cmd+shift+B for the first time, all tasks are available
What I wish would happen is that it would just run the "VS Code - Build" task automatically, but that's a different issue
The text was updated successfully, but these errors were encountered: