File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ export interface PythonProject {
660660/**
661661 * Options for creating a Python project.
662662 */
663- export interface PythonProjectCreatorOptions < T extends PythonProjectCustomization = PythonProjectCustomization > {
663+ export interface PythonProjectCreatorOptions {
664664 /**
665665 * The name of the Python project.
666666 */
@@ -672,16 +672,11 @@ export interface PythonProjectCreatorOptions<T extends PythonProjectCustomizatio
672672 rootUri : Uri ;
673673
674674 /**
675- * The customization options for the Python project.
675+ * Boolean indicating whether the project should be created without any user input .
676676 */
677- customization ?: T ;
677+ quickCreate ?: boolean ;
678678}
679679
680- /**
681- * This is an interface allowing project creators to specify customization options required for the project creation.
682- */
683- export interface PythonProjectCustomization { }
684-
685680/**
686681 * Interface representing a creator for Python projects.
687682 */
@@ -711,6 +706,11 @@ export interface PythonProjectCreator {
711706 */
712707 readonly iconPath ?: IconPath ;
713708
709+ /**
710+ * A flag indicating whether the project creator supports quick create where no user input is required.
711+ */
712+ supportsQuickCreate ?: boolean ;
713+
714714 /**
715715 * Creates a new Python project or projects.
716716 * @param options - Optional parameters for creating the Python project.
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import {
2626 EnvironmentGroupInfo ,
2727 QuickCreateConfig ,
2828 CreateEnvironmentOptions ,
29- PythonProjectCustomization ,
3029} from './api' ;
3130import { CreateEnvironmentNotSupported , RemoveEnvironmentNotSupported } from './common/errors/NotSupportedError' ;
3231import { sendTelemetryEvent } from './common/telemetry/sender' ;
@@ -372,7 +371,3 @@ export interface ProjectCreators extends Disposable {
372371 registerPythonProjectCreator ( creator : PythonProjectCreator ) : Disposable ;
373372 getProjectCreators ( ) : PythonProjectCreator [ ] ;
374373}
375-
376- export interface PackageTemplateSpecifications extends PythonProjectCustomization {
377- createVenv ?: boolean ;
378- }
You can’t perform that action at this time.
0 commit comments