-
Notifications
You must be signed in to change notification settings - Fork 34.1k
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.rootPath
as before, it would still point to the first folder always (which can beundefined
if the workspace contains no folders) - could subscribe to the
onDidChangeWorkspaceFolders
event to get notified about updates - would see the value of
workspace.rootPath
changing 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