don't change focus to file explorer viewlet when automatically opening sql projects in the open folder (#11583)

This commit is contained in:
Kim Santiago
2020-07-30 14:50:42 -07:00
committed by GitHub
parent ee540ac89c
commit 9e5bd182bb
2 changed files with 7 additions and 3 deletions

View File

@@ -106,7 +106,8 @@ export default class MainController implements vscode.Disposable {
let results = await glob(sqlprojFilter);
for (let f in results) {
await this.projectsController.openProject(vscode.Uri.file(results[f]));
// open the project, but don't switch focus to the file explorer viewlet
await this.projectsController.openProject(vscode.Uri.file(results[f]), false);
}
}