environment.ts 1.0 KB
Newer Older
J
Joao Moreno 已提交
1 2 3 4 5
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

6
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
J
Joao Moreno 已提交
7

J
Joao Moreno 已提交
8 9 10
export const IEnvironmentService = createDecorator<IEnvironmentService>('environmentService');

export interface IEnvironmentService {
11
	_serviceBrand: any;
J
Joao Moreno 已提交
12

13
	execPath: string;
14
	appRoot: string;
15

J
Joao Moreno 已提交
16
	userHome: string;
J
Joao Moreno 已提交
17
	userDataPath: string;
18 19 20 21 22

	appSettingsHome: string;
	appSettingsPath: string;
	appKeybindingsPath: string;

J
Joao Moreno 已提交
23
	extensionsPath: string;
24
	extensionDevelopmentPath: string;
B
Benjamin Pasero 已提交
25
	extensionTestsPath: string;
26

27
	debugExtensionHostPort: number;
28
	debugBrkExtensionHost: boolean;
29

30 31
	logExtensionHostCommunication: boolean;

32
	isBuilt: boolean;
33
	verbose: boolean;
B
Benjamin Pasero 已提交
34
	performance: boolean;
35 36

	debugBrkFileWatcherPort: number;
37
}