mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
Corrects workspace project tree refresh behavior for adding new projects to the workspace (#16650)
* bugfix and updates * PR feedback * Deferred promise for project disk scan * fix casing * fixing race condition on extension activation, test failure
This commit is contained in:
@@ -13,8 +13,8 @@ export class DataWorkspaceExtension implements IExtension {
|
||||
constructor(private workspaceService: WorkspaceService) {
|
||||
}
|
||||
|
||||
getProjectsInWorkspace(ext?: string): Promise<vscode.Uri[]> {
|
||||
return this.workspaceService.getProjectsInWorkspace(ext);
|
||||
getProjectsInWorkspace(ext?: string, refreshFromDisk?: boolean): Promise<vscode.Uri[]> {
|
||||
return this.workspaceService.getProjectsInWorkspace(ext, refreshFromDisk);
|
||||
}
|
||||
|
||||
addProjectsToWorkspace(projectFiles: vscode.Uri[]): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user