Path: blob/main/src/vs/workbench/services/environment/common/environmentService.ts
3296 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45import { refineServiceDecorator } from '../../../../platform/instantiation/common/instantiation.js';6import { IPath } from '../../../../platform/window/common/window.js';7import { IEnvironmentService } from '../../../../platform/environment/common/environment.js';8import { URI } from '../../../../base/common/uri.js';910export const IWorkbenchEnvironmentService = refineServiceDecorator<IEnvironmentService, IWorkbenchEnvironmentService>(IEnvironmentService);1112/**13* A workbench specific environment service that is only present in workbench14* layer.15*/16export interface IWorkbenchEnvironmentService extends IEnvironmentService {1718// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!19// NOTE: KEEP THIS INTERFACE AS SMALL AS POSSIBLE. AS SUCH:20// PUT NON-WEB PROPERTIES INTO THE NATIVE WORKBENCH21// ENVIRONMENT SERVICE22// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2324// --- Paths25readonly logFile: URI;26readonly windowLogsPath: URI;27readonly extHostLogsPath: URI;2829// --- Extensions30readonly extensionEnabledProposedApi?: string[];3132// --- Config33readonly remoteAuthority?: string;34readonly skipReleaseNotes: boolean;35readonly skipWelcome: boolean;36readonly disableWorkspaceTrust: boolean;37readonly webviewExternalEndpoint: string;3839// --- Development40readonly debugRenderer: boolean;41readonly logExtensionHostCommunication?: boolean;42readonly enableSmokeTestDriver?: boolean;43readonly profDurationMarkers?: string[];4445// --- Editors to open46readonly filesToOpenOrCreate?: IPath[] | undefined;47readonly filesToDiff?: IPath[] | undefined;48readonly filesToMerge?: IPath[] | undefined;4950// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!51// NOTE: KEEP THIS INTERFACE AS SMALL AS POSSIBLE. AS SUCH:52// - PUT NON-WEB PROPERTIES INTO NATIVE WB ENV SERVICE53// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!54}555657