Skip to content

Commit b032651

Browse files
committed
remove left-over edits
1 parent c42205b commit b032651

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/extension.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { commands, ExtensionContext, LogOutputChannel, Terminal, Uri, window } from 'vscode';
2-
import { PythonEnvironment, PythonEnvironmentApi, PythonProjectCreator, PythonProjectCreatorOptions } from './api';
2+
import { PythonEnvironment, PythonEnvironmentApi, PythonProjectCreator } from './api';
33
import { ensureCorrectVersion } from './common/extVersion';
44
import { registerTools } from './common/lm.apis';
55
import { registerLogger, traceError, traceInfo } from './common/logging';
@@ -114,21 +114,13 @@ export async function activate(context: ExtensionContext): Promise<PythonEnviron
114114
context.subscriptions.push(terminalActivation, terminalManager);
115115

116116
const projectCreators: ProjectCreators = new ProjectCreatorsImpl();
117-
const abc = new NewScriptProject();
118117
context.subscriptions.push(
119118
projectCreators,
120119
projectCreators.registerPythonProjectCreator(new ExistingProjects(projectManager)),
121120
projectCreators.registerPythonProjectCreator(new AutoFindProjects(projectManager)),
122121
projectCreators.registerPythonProjectCreator(new NewPackageProject(envManagers, projectManager)),
123-
124-
projectCreators.registerPythonProjectCreator(abc),
122+
projectCreators.registerPythonProjectCreator(new NewScriptProject()),
125123
);
126-
const cd: PythonProjectCreatorOptions = {
127-
name: abc.name,
128-
rootUri: context.extensionUri,
129-
quickCreate: true,
130-
};
131-
abc.create(cd);
132124

133125
setPythonApi(envManagers, projectManager, projectCreators, terminalManager, envVarManager);
134126
const api = await getPythonApi();

0 commit comments

Comments
 (0)