mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
Fix how data workspace handles untitled workspaces (#14505)
* add more workspace apis * update dialog and check workspace scheme * cleanup * add comment * update create project from db dialog * cleanup * update names * add test
This commit is contained in:
@@ -17,11 +17,15 @@ export class ExtHostWorkspace implements ExtHostWorkspaceShape {
|
||||
this._proxy = _mainContext.getProxy(SqlMainContext.MainThreadWorkspace);
|
||||
}
|
||||
|
||||
$createWorkspace(folder: URI, workspaceFile: URI): Promise<void> {
|
||||
return this._proxy.$createWorkspace(folder, workspaceFile);
|
||||
$createAndEnterWorkspace(folder: URI, workspaceFile: URI): Promise<void> {
|
||||
return this._proxy.$createAndEnterWorkspace(folder, workspaceFile);
|
||||
}
|
||||
|
||||
$enterWorkspace(workspaceFile: URI): Promise<void> {
|
||||
return this._proxy.$enterWorkspace(workspaceFile);
|
||||
}
|
||||
|
||||
$saveAndEnterWorkspace(workspaceFile: URI): Promise<void> {
|
||||
return this._proxy.$saveAndEnterWorkspace(workspaceFile);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user