@@ -15,27 +15,23 @@ import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService
1515// tslint:disable-next-line: import-patterns no-standalone-editor
1616import { IDownloadService } from 'vs/platform/download/common/download' ;
1717import { CancellationToken } from 'vs/base/common/cancellation' ;
18- import { IExtensionHostDebugParams , IDebugParams } from 'vs/platform/environment/common/environment' ;
1918import { IExtensionGalleryService , IQueryOptions , IGalleryExtension , InstallOperation , StatisticType , ITranslation , IGalleryExtensionVersion , IExtensionIdentifier , IReportedExtension , IExtensionManagementService , ILocalExtension , IGalleryMetadata , IExtensionTipsService , ExtensionRecommendationReason , IExtensionRecommendation , IExtensionEnablementService , EnablementState } from 'vs/platform/extensionManagement/common/extensionManagement' ;
2019import { IPager } from 'vs/base/common/paging' ;
2120import { IExtensionManifest , ExtensionType , ExtensionIdentifier , IExtension } from 'vs/platform/extensions/common/extensions' ;
2221import { IURLHandler , IURLService } from 'vs/platform/url/common/url' ;
2322import { ITelemetryService , ITelemetryData , ITelemetryInfo } from 'vs/platform/telemetry/common/telemetry' ;
24- import { LogLevel , ConsoleLogService } from 'vs/platform/log/common/log' ;
23+ import { ConsoleLogService } from 'vs/platform/log/common/log' ;
2524import { ILifecycleService } from 'vs/platform/lifecycle/common/lifecycle' ;
2625import { IProductService } from 'vs/platform/product/common/product' ;
2726import { Disposable , IDisposable } from 'vs/base/common/lifecycle' ;
2827import { IStorageService , IWorkspaceStorageChangeEvent , StorageScope , IWillSaveStateEvent , WillSaveStateReason } from 'vs/platform/storage/common/storage' ;
2928import { IUpdateService , State } from 'vs/platform/update/common/update' ;
30- import { IWindowConfiguration , IPath , IPathsToWaitFor , IWindowService , INativeOpenDialogOptions , IEnterWorkspaceResult , IURIToOpen , IMessageBoxResult , IWindowsService , IOpenSettings } from 'vs/platform/windows/common/windows' ;
31- import { IProcessEnvironment } from 'vs/base/common/platform' ;
29+ import { IWindowService , INativeOpenDialogOptions , IEnterWorkspaceResult , IURIToOpen , IMessageBoxResult , IWindowsService , IOpenSettings } from 'vs/platform/windows/common/windows' ;
3230import { IWorkspaceIdentifier , ISingleFolderWorkspaceIdentifier , IWorkspaceFolderCreationData , IWorkspacesService } from 'vs/platform/workspaces/common/workspaces' ;
33- import { ExportData } from 'vs/base/common/performance' ;
3431import { IRecentlyOpened , IRecent } from 'vs/platform/history/common/history' ;
3532import { ISerializableCommandAction } from 'vs/platform/actions/common/actions' ;
3633import { IWorkspaceEditingService } from 'vs/workbench/services/workspace/common/workspaceEditing' ;
3734import { ITunnelService } from 'vs/platform/remote/common/tunnel' ;
38- import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService' ;
3935import { IReloadSessionEvent , IExtensionHostDebugService , ICloseSessionEvent , IAttachSessionEvent , ILogToSessionEvent , ITerminateSessionEvent } from 'vs/workbench/services/extensions/common/extensionHostDebug' ;
4036import { IRemoteConsoleLog } from 'vs/base/common/console' ;
4137// tslint:disable-next-line: import-patterns
@@ -169,65 +165,6 @@ export class SimpleDownloadService implements IDownloadService {
169165
170166registerSingleton ( IDownloadService , SimpleDownloadService , true ) ;
171167
172- //#endregion
173-
174- //#region Environment
175-
176- export class SimpleWorkbenchEnvironmentService implements IWorkbenchEnvironmentService {
177- configuration : IWindowConfiguration = new SimpleWindowConfiguration ( ) ;
178- untitledWorkspacesHome : URI ;
179- extensionTestsLocationURI ?: URI ;
180- _serviceBrand : any ;
181- args : any ;
182- execPath : string ;
183- cliPath : string ;
184- appRoot : string ;
185- userHome : string ;
186- userDataPath : string ;
187- appNameLong : string = 'Visual Studio Code - Web' ;
188- appQuality ?: string ;
189- appSettingsHome : URI ;
190- settingsResource : URI ;
191- keybindingsResource : URI ;
192- machineSettingsHome : URI ;
193- machineSettingsResource : URI ;
194- settingsSearchBuildId ?: number ;
195- settingsSearchUrl ?: string ;
196- globalStorageHome : string ;
197- workspaceStorageHome : string ;
198- backupHome : string ;
199- backupWorkspacesPath : string ;
200- workspacesHome : string ;
201- isExtensionDevelopment : boolean ;
202- disableExtensions : boolean | string [ ] ;
203- builtinExtensionsPath : string ;
204- extensionsPath : string ;
205- extensionDevelopmentLocationURI ?: URI [ ] ;
206- extensionTestsPath ?: string ;
207- debugExtensionHost : IExtensionHostDebugParams ;
208- debugSearch : IDebugParams ;
209- logExtensionHostCommunication : boolean ;
210- isBuilt : boolean ;
211- wait : boolean ;
212- status : boolean ;
213- log ?: string ;
214- logsPath : string ;
215- verbose : boolean ;
216- skipGettingStarted : boolean ;
217- skipReleaseNotes : boolean ;
218- skipAddToRecentlyOpened : boolean ;
219- mainIPCHandle : string ;
220- sharedIPCHandle : string ;
221- nodeCachedDataDir ?: string ;
222- installSourcePath : string ;
223- disableUpdates : boolean ;
224- disableCrashReporter : boolean ;
225- driverHandle ?: string ;
226- driverVerbose : boolean ;
227- webviewEndpoint ?: string ;
228- }
229-
230-
231168//#endregion
232169
233170//#region Extension Gallery
@@ -804,47 +741,6 @@ registerSingleton(IURLService, SimpleURLService);
804741
805742//#region Window
806743
807- export class SimpleWindowConfiguration implements IWindowConfiguration {
808- _ : any [ ] ;
809- machineId : string ;
810- windowId : number ;
811- logLevel : LogLevel ;
812-
813- mainPid : number ;
814-
815- appRoot : string ;
816- execPath : string ;
817- isInitialStartup ?: boolean ;
818-
819- userEnv : IProcessEnvironment ;
820- nodeCachedDataDir ?: string ;
821-
822- backupPath ?: string ;
823-
824- workspace ?: IWorkspaceIdentifier ;
825- folderUri ?: ISingleFolderWorkspaceIdentifier ;
826-
827- remoteAuthority : string = document . location . host ;
828-
829- zoomLevel ?: number ;
830- fullscreen ?: boolean ;
831- maximized ?: boolean ;
832- highContrast ?: boolean ;
833- frameless ?: boolean ;
834- accessibilitySupport ?: boolean ;
835- partsSplashPath ?: string ;
836-
837- perfStartTime ?: number ;
838- perfAppReady ?: number ;
839- perfWindowLoadTime ?: number ;
840- perfEntries : ExportData ;
841-
842- filesToOpenOrCreate ?: IPath [ ] ;
843- filesToDiff ?: IPath [ ] ;
844- filesToWait ?: IPathsToWaitFor ;
845- termProgram ?: string ;
846- }
847-
848744export class SimpleWindowService implements IWindowService {
849745
850746 _serviceBrand : any ;
0 commit comments