eclipse-theia/theia

fix handling of workspace storage path

Open

#7,472 opened on Apr 1, 2020

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

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

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