Skip to content

Commit 024e9b3

Browse files
authored
add project quickPick (#335)
1 parent 5eaf48e commit 024e9b3

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
/**
@@ -701,6 +706,11 @@ export interface PythonProjectCreator {
701706
*/
702707
readonly iconPath?: IconPath;
703708

709+
/**
710+
* A flag indicating whether the project creator supports quick create where no user input is required.
711+
*/
712+
readonly supportsQuickCreate?: boolean;
713+
704714
/**
705715
* Creates a new Python project or projects.
706716
* @param options - Optional parameters for creating the Python project.

0 commit comments

Comments
 (0)