environment.ts 962 字节
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
	appRoot: string;
14

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

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

J
Joao Moreno 已提交
22
	extensionsPath: string;
23
	extensionDevelopmentPath: string;
24

25
	debugExtensionHostPort: number;
26
	debugBrkExtensionHost: boolean;
27

28
	isBuilt: boolean;
29
	verbose: boolean;
B
Benjamin Pasero 已提交
30
	performance: boolean;
31 32

	debugBrkFileWatcherPort: number;
33
}