File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/vs/workbench/services/environment/browser Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,13 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
114
114
@memoize
115
115
get snippetsHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'snippets' ) ; }
116
116
117
+ /*
118
+ * In Web every workspace can potentially have scoped user-data and/or extensions and if Sync state is shared then it can make
119
+ * Sync error prone - say removing extensions from another workspace. Hence scope Sync state per workspace.
120
+ * Sync scoped to a workspace is capable of handling opening same workspace in multiple windows.
121
+ */
117
122
@memoize
118
- get userDataSyncHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'sync' ) ; }
123
+ get userDataSyncHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'sync' , this . options . workspaceId ) ; }
119
124
120
125
@memoize
121
126
get userDataSyncLogResource ( ) : URI { return joinPath ( this . options . logsPath , 'userDataSync.log' ) ; }
You can’t perform that action at this time.
0 commit comments