eclipse-theia/theia

[vscode] Running example FileSystemProvider plugin has different behavior

开放

#8,167 创建于 2020年7月14日

 (9 条评论) (0 个反应) (0 位负责人)TypeScript (2,478 个派生)batch import
bughelp wantedvscodeworkspace

仓库指标

星标
 (18,676 个星标)
PR 合并指标
 (平均合并 15天 4小时) (30 天内合并 75 个 PR)

描述

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. image

[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. image

Steps to Reproduce:

  1. Clone microsoft/vscode-extension-samples
  2. Add fsprovider-sample plugin to Theia
  3. Run Theia
  4. Execute Setup workspace command 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.0 and compiling akosyakov/integrate-vscode-api-7269 branch.

贡献者指南