@@ -20,7 +20,7 @@ import { IAddressProvider, ISocketFactory } from 'vs/platform/remote/common/remo
2020import { IRemoteAgentEnvironment } from 'vs/platform/remote/common/remoteAgentEnvironment' ;
2121import { ITelemetryData , ITelemetryInfo , ITelemetryService } from 'vs/platform/telemetry/common/telemetry' ;
2222import { BrowserSocketFactory } from 'vs/platform/remote/browser/browserSocketFactory' ;
23- import { ExtensionIdentifier , ExtensionType , IExtension , IExtensionDescription , IExtensionManifest } from 'vs/platform/extensions/common/extensions' ;
23+ import { ExtensionIdentifier , IExtension , IExtensionDescription } from 'vs/platform/extensions/common/extensions' ;
2424import { SimpleConfigurationService as BaseSimpleConfigurationService } from 'vs/editor/standalone/browser/simpleServices' ;
2525import { InMemoryStorageService } from 'vs/platform/storage/common/storage' ;
2626import { registerSingleton } from 'vs/platform/instantiation/common/extensions' ;
@@ -54,7 +54,7 @@ import { LinkedMap } from 'vs/base/common/map';
5454import { IWorkspace , IWorkspaceContextService , IWorkspaceFolder , WorkbenchState , WorkspaceFolder } from 'vs/platform/workspace/common/workspace' ;
5555import { CustomTask , ContributedTask , InMemoryTask , TaskRunSource , ConfiguringTask , TaskIdentifier , TaskSorter } from 'vs/workbench/contrib/tasks/common/tasks' ;
5656import { TaskSystemInfo } from 'vs/workbench/contrib/tasks/common/taskSystem' ;
57- import { IExtensionManagementService , ILocalExtension , IGalleryExtension , IReportedExtension , IGalleryMetadata , IExtensionIdentifier , IExtensionTipsService , IConfigBasedExtensionTip , IExecutableBasedExtensionTip , IWorkspaceTips } from 'vs/platform/extensionManagement/common/extensionManagement' ;
57+ import { IExtensionTipsService , IConfigBasedExtensionTip , IExecutableBasedExtensionTip , IWorkspaceTips } from 'vs/platform/extensionManagement/common/extensionManagement' ;
5858import { IWorkspaceTagsService , Tags } from 'vs/workbench/contrib/tags/common/workspaceTags' ;
5959import { AsbtractOutputChannelModelService , IOutputChannelModelService } from 'vs/workbench/services/output/common/outputChannelModel' ;
6060import { Color , RGBA } from 'vs/base/common/color' ;
@@ -91,6 +91,7 @@ export class SimpleWorkbenchEnvironmentService implements INativeWorkbenchEnviro
9191 get serviceMachineIdResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'machineid' ) ; }
9292 get userDataSyncLogResource ( ) : URI { return joinPath ( this . userRoamingDataHome , 'syncLog' ) ; }
9393 get userDataSyncHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'syncHome' ) ; }
94+ get tmpDir ( ) : URI { return joinPath ( this . userRoamingDataHome , 'tmp' ) ; }
9495 get backupWorkspaceHome ( ) : URI { return joinPath ( this . userRoamingDataHome , 'Backups' , 'workspace' ) ; }
9596
9697 options ?: IWorkbenchConstructionOptions | undefined ;
@@ -838,35 +839,6 @@ registerSingleton(ITaskService, SimpleTaskService);
838839//#endregion
839840
840841
841- //#region Extension Management
842-
843- class SimpleExtensionManagementService implements IExtensionManagementService {
844-
845- declare readonly _serviceBrand : undefined ;
846-
847- onInstallExtension = Event . None ;
848- onDidInstallExtension = Event . None ;
849- onUninstallExtension = Event . None ;
850- onDidUninstallExtension = Event . None ;
851-
852- async zip ( extension : ILocalExtension ) : Promise < URI > { throw new Error ( 'Method not implemented.' ) ; }
853- async unzip ( zipLocation : URI ) : Promise < IExtensionIdentifier > { throw new Error ( 'Method not implemented.' ) ; }
854- async getManifest ( vsix : URI ) : Promise < IExtensionManifest > { throw new Error ( 'Method not implemented.' ) ; }
855- async install ( vsix : URI , isMachineScoped ?: boolean ) : Promise < ILocalExtension > { throw new Error ( 'Method not implemented.' ) ; }
856- async canInstall ( extension : IGalleryExtension ) : Promise < boolean > { throw new Error ( 'Method not implemented.' ) ; }
857- async installFromGallery ( extension : IGalleryExtension , isMachineScoped ?: boolean ) : Promise < ILocalExtension > { throw new Error ( 'Method not implemented.' ) ; }
858- async uninstall ( extension : ILocalExtension , force ?: boolean ) : Promise < void > { }
859- async reinstallFromGallery ( extension : ILocalExtension ) : Promise < void > { }
860- async getInstalled ( type ?: ExtensionType ) : Promise < ILocalExtension [ ] > { return [ ] ; }
861- async getExtensionsReport ( ) : Promise < IReportedExtension [ ] > { return [ ] ; }
862- async updateMetadata ( local : ILocalExtension , metadata : IGalleryMetadata ) : Promise < ILocalExtension > { throw new Error ( 'Method not implemented.' ) ; }
863- }
864-
865- registerSingleton ( IExtensionManagementService , SimpleExtensionManagementService ) ;
866-
867- //#endregion
868-
869-
870842//#region Extension Tips
871843
872844class SimpleExtensionTipsService implements IExtensionTipsService {
0 commit comments