"Workspace folder was undefined" message in Tasks Output channel when new workspace uses FileSystemProvider #192490
Labels
bug
Issue identified by VS Code Team member as probable bug
help wanted
Issues identified as good community contribution opportunities
insiders-released
Patch has been released in VS Code Insiders
tasks
Task system issues
verified
Verification succeeded
Milestone
Type: Bug
MemFS: Setup Workspace
command.The message come from here:
vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts
Line 2373 in 6de0c23
I think the task system is trying to do something (an onFolderOpen task?) for the memfs scheme before the task system for that scheme has been registered.
As a minimum change I think the message should become "Task system for ${workspaceFolder.uri.scheme} is unavailable".
Better, the message could be suppressed.
Best, the sequencing could be revised so the task system registration for the FSP's scheme happens before it is first used.
Further observation is that running
Developer: Reload Window
does not produce the message again.VS Code version: Code 1.82.0 (8b617bd, 2023-09-06T22:07:07.438Z)
OS version: Windows_NT x64 10.0.22621
Modes:
The text was updated successfully, but these errors were encountered: