File tree 2 files changed +2
-4
lines changed
configuration/interpreterSelector/commands 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ export namespace EnvGroups {
69
69
export const Recommended = Common . recommended ;
70
70
}
71
71
72
- export const SET_INTERPRETER_ID = 'SET_INTERPRETER_ID' ;
73
-
74
72
@injectable ( )
75
73
export class SetInterpreterCommand extends BaseInterpreterSelectorCommand implements IInterpreterQuickPick {
76
74
private readonly manualEntrySuggestion : ISpecialQuickPickItem = {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { EnvironmentTypeComparer } from './configuration/environmentTypeComparer
14
14
import { InstallPythonCommand } from './configuration/interpreterSelector/commands/installPython' ;
15
15
import { InstallPythonViaTerminal } from './configuration/interpreterSelector/commands/installPython/installPythonViaTerminal' ;
16
16
import { ResetInterpreterCommand } from './configuration/interpreterSelector/commands/resetInterpreter' ;
17
- import { SetInterpreterCommand , SET_INTERPRETER_ID } from './configuration/interpreterSelector/commands/setInterpreter' ;
17
+ import { SetInterpreterCommand } from './configuration/interpreterSelector/commands/setInterpreter' ;
18
18
import { SetShebangInterpreterCommand } from './configuration/interpreterSelector/commands/setShebangInterpreter' ;
19
19
import { InterpreterSelector } from './configuration/interpreterSelector/interpreterSelector' ;
20
20
import { PythonPathUpdaterService } from './configuration/pythonPathUpdaterService' ;
@@ -66,8 +66,8 @@ export function registerInterpreterTypes(serviceManager: IServiceManager): void
66
66
serviceManager . addSingleton < IExtensionSingleActivationService > (
67
67
IExtensionSingleActivationService ,
68
68
SetInterpreterCommand ,
69
- SET_INTERPRETER_ID ,
70
69
) ;
70
+ serviceManager . addSingleton ( IInterpreterQuickPick , SetInterpreterCommand ) ;
71
71
72
72
serviceManager . addSingleton < IExtensionActivationService > ( IExtensionActivationService , VirtualEnvironmentPrompt ) ;
73
73
You can’t perform that action at this time.
0 commit comments