environment.ts 749 字节
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.
 *--------------------------------------------------------------------------------------------*/

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

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

export interface IEnvironmentService {
	serviceId: ServiceIdentifier<any>;
J
Joao Moreno 已提交
12

13
	appRoot: string;
J
Joao Moreno 已提交
14 15
	userDataPath: string;
	extensionsPath: string;
16 17
	extensionDevelopmentPath: string;
	isBuilt: boolean;
J
Joao Moreno 已提交
18
}