-
Notifications
You must be signed in to change notification settings - Fork 30.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
Calling a task using TaskDefinition data does not work in 1.70.0 #157814
Comments
Hi @meganrogge and @alexr00, Could it be a regression of #155635 ? |
I forgot to mentioned, that we tried to follow VSCode API which has the next:
So, we show a human-readable task name/description, where call a task later using its ID. You can check the original issue which was reported at platformio/platformio-core#4386 by @DigiH |
@ivankravets this is how |
I think I have this set up correctly with the task provider sample. But when I run the runTask command, it just pops up the task picker Same whether I pass the task name or |
This bug has been fixed in the latest release of VS Code Insiders! @ivankravets, you can help us out by commenting If things still don't seem right, please ensure you're on version 2c80125 of Insiders (today's or later - you can use Happy Coding! |
If I understand, the latter example from the reporter should be the one that worked, selecting the task by its definition. The first "this code works" example should not actually have worked. I happened to have a 1.68 stable still on my system and verified that Insiders and 1.68 now match this behavior, so the regression was fixed. |
I've just tested the latest Insiders build and everything works as expected. Thanks for the fix! 🙏 |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
vscode.tasks.registerTaskProvider
wit the following data:This code works:
whereas, this does not:
The text was updated successfully, but these errors were encountered: