Skip to content

Commit 4876983

Browse files
authored
Merge branch 'main' into update-create-return
2 parents 2020167 + 024e9b3 commit 4876983

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/api.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,14 @@ 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+
/**
675+
* Boolean indicating whether the project should be created without any user input.
676+
*/
677+
quickCreate?: boolean;
673678
}
674679

675680
/**
@@ -711,6 +716,11 @@ export interface PythonProjectCreator {
711716
* - undefined: if project creation fails.
712717
*/
713718
create(options?: PythonProjectCreatorOptions): Promise<PythonProject | PythonProject[] | Uri | Uri[] | undefined>;
719+
720+
/**
721+
* A flag indicating whether the project creator supports quick create where no user input is required.
722+
*/
723+
readonly supportsQuickCreate?: boolean;
714724
}
715725

716726
/**

0 commit comments

Comments
 (0)