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;

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

28
	debugExtensionHostPort: number;
29
	debugBrkExtensionHost: boolean;
30

31 32
	logExtensionHostCommunication: boolean;

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