close
Skip to content

Changing first workspace folder restarts extensions #46048

@amp343

Description

@amp343

Issue Type: Bug

Changing the first folder in a workspace restarts the extension host.

This is a problem because it breaks the extension's ability to listen for workspace lifecycle events like workspace.onDidChangeWorkspaceFolders (the extension cannot catch an event that changes folder 0 since it's being restarted).

VS Code version: Code 1.21.1 (79b44aa, 2018-03-14T14:39:09.335Z)
OS version: Darwin x64 17.3.0

Reproduces without extensions

Metadata

Metadata

Assignees

No one assigned

    Labels

    *as-designedDescribed behavior is as designed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions