File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -667,11 +667,19 @@ export interface PythonProjectCreatorOptions {
667667 name : string ;
668668
669669 /**
670- * Optional path that may be provided as a root for the project.
670+ * Path provided as the root for the project.
671671 */
672- uri ?: Uri ;
672+ rootUri : Uri ;
673+
674+ projectTemplateSpecifications ?: PythonProjectTemplateSpecifications ;
673675}
674676
677+ /**
678+ * Specifications for the template set by the Python project creator. Project creators can create an object
679+ * extending this type to provide additional information about what their template need.
680+ */
681+ export interface PythonProjectTemplateSpecifications { }
682+
675683/**
676684 * Interface representing a creator for Python projects.
677685 */
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import {
2626 EnvironmentGroupInfo ,
2727 QuickCreateConfig ,
2828 CreateEnvironmentOptions ,
29+ PythonProjectTemplateSpecifications ,
2930} from './api' ;
3031import { CreateEnvironmentNotSupported , RemoveEnvironmentNotSupported } from './common/errors/NotSupportedError' ;
3132import { sendTelemetryEvent } from './common/telemetry/sender' ;
@@ -371,3 +372,7 @@ export interface ProjectCreators extends Disposable {
371372 registerPythonProjectCreator ( creator : PythonProjectCreator ) : Disposable ;
372373 getProjectCreators ( ) : PythonProjectCreator [ ] ;
373374}
375+
376+ export interface PackageTemplateSpecifications extends PythonProjectTemplateSpecifications {
377+ createVenv ?: boolean ;
378+ }
You can’t perform that action at this time.
0 commit comments