Skip to content

Commit 1cacde3

Browse files
committed
Revert "add 'configuration' (read uri/path) of workspace config file, microsoft#41408"
This reverts commit 3ecef8c.
1 parent 0583f92 commit 1cacde3

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/vs/platform/workspace/common/workspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class Workspace implements IWorkspace {
198198
}
199199

200200
public toJSON(): IWorkspace {
201-
return { id: this.id, folders: this.folders, name: this.name, configuration: this.configuration };
201+
return { id: this.id, folders: this.folders, name: this.name };
202202
}
203203
}
204204

src/vs/workbench/api/node/extHost.protocol.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export interface IWorkspaceData {
7171
id: string;
7272
name: string;
7373
folders: { uri: UriComponents, name: string, index: number }[];
74-
configuration: UriComponents;
7574
}
7675

7776
export interface IInitData {

src/vs/workbench/api/node/extHostExtensionService.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import { Barrier } from 'vs/base/common/async';
2222
import { ILogService } from 'vs/platform/log/common/log';
2323
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
2424
import { ExtHostLogService } from 'vs/workbench/api/node/extHostLogService';
25-
import URI from 'vs/base/common/uri';
2625

2726
class ExtensionMemento implements IExtensionMemento {
2827

@@ -109,7 +108,6 @@ class ExtensionStoragePath {
109108
join(storagePath, 'meta.json'),
110109
JSON.stringify({
111110
id: this._workspace.id,
112-
configuration: URI.revive(this._workspace.configuration).toString(),
113111
name: this._workspace.name
114112
}, undefined, 2)
115113
);

0 commit comments

Comments
 (0)