Add an informational message when a user tries to open an already opened project (#13853)

This commit is contained in:
Sakshi Sharma
2020-12-18 12:33:33 -08:00
committed by GitHub
parent 72a3aa1207
commit 0b8b6064ed
3 changed files with 7 additions and 0 deletions

View File

@@ -121,6 +121,8 @@ export class WorkspaceService implements IWorkspaceService {
if (vscode.Uri.file(relativePath).fsPath === projectFile.fsPath) {
newWorkspaceFolders.push(path.dirname(projectFile.path));
}
} else {
vscode.window.showInformationMessage(constants.ProjectAlreadyOpened(projectFile.fsPath));
}
}