Bug/restore query editor tabs (#6654)

* trial run for query editor temp file fix

* Fixing restore tabs bug with right layering

* Moving FileService change from vscode to our code
This commit is contained in:
Udeesha Gautam
2019-08-13 18:41:25 -07:00
committed by GitHub
parent b5fdf8c2a7
commit a645a09f42
5 changed files with 38 additions and 13 deletions

View File

@@ -426,6 +426,8 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
}
private async restoreEditors(from: IEditorGroupView | ISerializedEditorGroup): Promise<void> {
await this._group.removeNonExitingEditor(); // {{SQL CARBON EDIT}} @udeeshagautam perform async correction for non-existing files
if (this._group.count === 0) {
return; // nothing to show
}