eclipse-theia/theia
View on GitHub[vscode] Running example FileSystemProvider plugin has different behavior
Open
#8,167 opened on Jul 14, 2020
bughelp wantedvscodeworkspace
Description
Bug Description:
When trying to use example FileSystemProvider plugin the (expected) behavior on Code[1] differs from the behavior on Theia[2].
[1] Running plugin command Setup workspace with or without opened workspace creates new and empty directory with name that was passed to vscode.workspace.updateWorkspaceFolders in extension.ts.

[2] Running plugin command Setup workspace without opened workspace throws an error Failed to update workspace folders: Error: There is not active workspace. If any folder was already opened in the workspace, the same plugin command opens new directory, but instead of named, empty one it's system's root.

Steps to Reproduce:
- Clone
microsoft/vscode-extension-samples - Add
fsprovider-sampleplugin to Theia - Run Theia
- Execute
Setup workspacecommand from the command paletter
Additional Information
- Operating System: Ubuntu 18.04 if running on Docker image Arch Linux, kernel 5.7.7 if running on host
- Theia Version:
Tried both release
1.3.0and compilingakosyakov/integrate-vscode-api-7269branch.