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
Return a task from provideTasks() where one task definition property uses a command variable (e.g. ${command:workbench.action.findInFiles}, the command is never run so it doesn't matter what it is. I have also tested with more meaningful commands, that return a value from a quick pick dialog).
Launch the extension and run the task.
Observe that it is launched but never goes anywhere (and never reaches the CustomExecution). It is stuck like this:
Note that tasks returned from resolveTask do not behave like this, so configuring the task or running it from "recently used" works fine. Shell and Process executions do not behave like this.
The text was updated successfully, but these errors were encountered:
@rchiodo The fix (9923e8e) solves the bug I had. I use a custom command that shows a quick pick and returns a value, and it works great in insiders.
It seems some builtin commands prevent tasks from starting (e.g. ${command:workbench.action.files.openFile} or ${command:workbench.action.findInFiles}). However this is the case for me even when using ShellExecution so it is probably a separate bug (or intented? I'm not sure what would be the expected result when calling openFile in a task definition).
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
provideTasks()
where one task definition property uses a command variable (e.g.${command:workbench.action.findInFiles}
, the command is never run so it doesn't matter what it is. I have also tested with more meaningful commands, that return a value from a quick pick dialog).Note that tasks returned from
resolveTask
do not behave like this, so configuring the task or running it from "recently used" works fine. Shell and Process executions do not behave like this.The text was updated successfully, but these errors were encountered: