add api to open new project dialog with only one project type with filtered target platforms (#16315)

This commit is contained in:
Kim Santiago
2021-07-27 10:03:44 -07:00
committed by GitHub
parent b2c203eaef
commit f01e9e2fc0
6 changed files with 71 additions and 7 deletions

View File

@@ -40,6 +40,13 @@ declare module 'dataworkspace' {
* Verifies that a workspace is open or if it should be automatically created
*/
validateWorkspace(): Promise<boolean>;
/**
* Opens the new project dialog with only the specified project type
* @param projectType project type to open the dialog for
* @returns the uri of the created the project or undefined if no project was created
*/
openSpecificProjectNewProjectDialog(projectType: IProjectType): Promise<vscode.Uri | undefined>;
}
/**