Add open existing project functionality for VS Code (#15958)

This commit is contained in:
Charles Gagnon
2021-07-01 09:20:46 -07:00
committed by GitHub
parent a6644333c0
commit 41bac47cbd
5 changed files with 40 additions and 35 deletions

View File

@@ -143,7 +143,7 @@ export class WorkspaceService implements IWorkspaceService {
const provider = ProjectProviderRegistry.getProviderByProjectType(projectTypeId);
if (provider) {
const projectFile = await provider.createProject(name, location, projectTypeId);
this.addProjectsToWorkspace([projectFile]);
await this.addProjectsToWorkspace([projectFile]);
this._onDidWorkspaceProjectsChange.fire();
return projectFile;
} else {