forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathregistrations.ts
25 lines (23 loc) · 1.33 KB
/
registrations.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { IDisposableRegistry, IInterpreterPathService, IPathUtils } from '../../common/types';
import { IInterpreterQuickPick } from '../../interpreter/configuration/types';
import { IInterpreterService } from '../../interpreter/contracts';
import { registerCreateEnvironmentFeatures } from './createEnvApi';
import { registerCreateEnvironmentButtonFeatures } from './createEnvButtonContext';
import { registerTriggerForPipInTerminal } from './globalPipInTerminalTrigger';
import { registerInstalledPackagesDiagnosticsProvider } from './installedPackagesDiagnostic';
import { registerPyProjectTomlFeatures } from './pyProjectTomlContext';
export function registerAllCreateEnvironmentFeatures(
disposables: IDisposableRegistry,
interpreterQuickPick: IInterpreterQuickPick,
interpreterPathService: IInterpreterPathService,
interpreterService: IInterpreterService,
pathUtils: IPathUtils,
): void {
registerCreateEnvironmentFeatures(disposables, interpreterQuickPick, interpreterPathService, pathUtils);
registerCreateEnvironmentButtonFeatures(disposables);
registerPyProjectTomlFeatures(disposables);
registerInstalledPackagesDiagnosticsProvider(disposables, interpreterService);
registerTriggerForPipInTerminal(disposables);
}