-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Open
Labels
api-proposalunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approachworkbench-multirootMulti-root (multiple folders) issuesMulti-root (multiple folders) issues
Milestone
Description
Today we restart the extension host whenever the first folder changes because workspace.rootPath is always set to that first folder and it never used to change after the extension host started once.
If we would not restart the extension host anymore an extension:
- could use
workspace.rootPathas before, it would still point to the first folder always (which can beundefinedif the workspace contains no folders) - could subscribe to the
onDidChangeWorkspaceFoldersevent to get notified about updates - would see the value of
workspace.rootPathchanging during runtime whenever the first folder changes
mattacosta, JarrettSpiker, luispDesktop, jolampi, sebazai and 11 more
Metadata
Metadata
Assignees
Labels
api-proposalunder-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approachworkbench-multirootMulti-root (multiple folders) issuesMulti-root (multiple folders) issues