eclipse-theia/theia

fix handling of workspace storage path

Open

#7472 opened on Apr 1, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (18,676 stars) (2,478 forks)batch import
bughelp wantedmulti-rootplug-in systemvscode

Description

Currently there are following issues:

  • path is changed for any change to a workspace, i.e. a new workspace root is added
  • path is patched on the fly

It can lead to data loss. A plugin should be sure that workspace storage path does not change for the same workspace. If a workspace is changed (not its roots) we should rather restart plugins that they load data from proper workspace storage.

We should also investigate how VS Code handle its to align with VS Code extensions' expectations.

Contributor guide