Skip to content

Multi root: transition without window reload #32945

Closed

Description

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

Activity

  1. added
    debt
    feature-request
    workbench-multiroot
    plan-item
    on Aug 22, 2017
  2. bpasero commented on Aug 23, 2017

    @bpasero
    ContributorAuthor

    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.

  3. dbaeumer commented on Aug 23, 2017

    @dbaeumer
    Member

    Benjamin Pasero (@bpasero) I will fold this with making tasks multi workspace capable which is planned for September.

  4. bpasero commented on Aug 24, 2017

    @bpasero
    ContributorAuthor
  5. changed the title [-]Multi root: investigate transition without window reload[/-] [+]Multi root: transition without window reload[/+] on Aug 24, 2017
  6. bpasero commented on Sep 19, 2017

    @bpasero
    ContributorAuthor

    This landed in todays insider release.

  7. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtfeature-requeston-testplanplan-itemworkbench-multiroot

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions