You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi root: transition without window reload #32945
Now that we can restart the extension host we should explore to enter multi-root workspace mode from 0 or 1 folder workspace without requiring a window reload.
This requires all users of the IWorkspaceContextService to be ready for the transition of zero or one folder into a workspace without window reload. The following larger components need to be adopted:
Instead of statically checking for a workspace being present or not, these components should subscribe to the onDidChangeWorkspaceRoots event and handle all cases (0 folders, 1 folder, N folders).
I did an initial investigation using the following query in fulltext search (regex, case sensitive, word) to find all clients of the workspace API: hasWorkspace|hasFolderWorkspace|hasMultiFolderWorkspace|getLegacyWorkspace|getWorkspace
There are some larger components that need to be fit for the transition of "0 folder to workspace" as well as "1 folder to workspace". In general I would say that the transition from 1 folder to a workspace is already covered quite well, but the transition from no folder to a workspace is not covered yet.
I will update the summary of this issue with the components that need to adopt the transition.
Activity
bpasero commentedon Aug 23, 2017
I did an initial investigation using the following query in fulltext search (regex, case sensitive, word) to find all clients of the workspace API:
hasWorkspace|hasFolderWorkspace|hasMultiFolderWorkspace|getLegacyWorkspace|getWorkspaceThere are some larger components that need to be fit for the transition of "0 folder to workspace" as well as "1 folder to workspace". In general I would say that the transition from 1 folder to a workspace is already covered quite well, but the transition from no folder to a workspace is not covered yet.
I will update the summary of this issue with the components that need to adopt the transition.
dbaeumer commentedon Aug 23, 2017
Benjamin Pasero (@bpasero) I will fold this with making tasks multi workspace capable which is planned for September.
bpasero commentedon Aug 24, 2017
Dirk Bäumer (@dbaeumer) awesome 👍
[-]Multi root: investigate transition without window reload[/-][+]Multi root: transition without window reload[/+]wire in changes to transition workspaces without window reload (for #…
restart extension host based on workbench state change (for #32945)
config: trigger events from workspace initialize (for #32945)
more on workspace transition without reload (#32945)
bpasero commentedon Sep 19, 2017
This landed in todays insider release.