-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Team: Che-Editorsissues regarding the che-editors teamissues regarding the che-editors teambugbugs found in the applicationbugs found in the applicationplug-in systemissues related to the plug-in systemissues related to the plug-in systemvscodeissues related to VSCode compatibilityissues related to VSCode compatibility
Milestone
Description
Bug Description:
workspace.workspaceFolders Plugin API should return undefined when no folder is open. But it returns an empty array. It leads to the failure of some VS Code extensions that rely on undefined value.
Steps to Reproduce:
- Put the test plugin into the
pluginsfolder and run Theia. - Call
Hello Worldcommand from the Commands Palette when no workspace folder is opened. - It shows the message
ws api returns 0 workspace folders, but has to showno workspace foldersas it is in VS Code.
Additional Information
- Operating System:
- Theia Version: 1.6.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Team: Che-Editorsissues regarding the che-editors teamissues regarding the che-editors teambugbugs found in the applicationbugs found in the applicationplug-in systemissues related to the plug-in systemissues related to the plug-in systemvscodeissues related to VSCode compatibilityissues related to VSCode compatibility