Skip to content

Commit 4ea89ff

Browse files
committed
Respect server folderUri and workspaceUri
1 parent 81c969b commit 4ea89ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/code/browser/workbench/workbench.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,10 @@ function doCreateUri(path: string, queryValues: Map<string, string>): URI {
495495
const originalConfig: IWorkbenchConstructionOptions & { folderUri?: UriComponents; workspaceUri?: UriComponents } = JSON.parse(configElementAttribute);
496496
const config: IWorkbenchConstructionOptions & { folderUri?: UriComponents; workspaceUri?: UriComponents } = {
497497
remoteAuthority: window.location.host,
498-
developmentOptions: originalConfig.developmentOptions
498+
developmentOptions: originalConfig.developmentOptions,
499+
settingsSyncOptions: originalConfig.settingsSyncOptions,
500+
folderUri: originalConfig.folderUri,
501+
workspaceUri: originalConfig.workspaceUri
499502
};
500503

501504
// Create workbench

0 commit comments

Comments
 (0)