Make createEditorInput async (#20038)

This commit is contained in:
Charles Gagnon
2022-07-14 19:39:52 -07:00
committed by GitHub
parent ada87478a7
commit ba1f4db745
9 changed files with 25 additions and 24 deletions

View File

@@ -309,7 +309,7 @@ export class NotebookService extends Disposable implements INotebookService {
fileInput = this._instantiationService.createInstance(UntitledTextEditorInput, model);
} else {
let input: any = { forceFile: true, resource: uri, mode: languageMode };
fileInput = this._editorService.createEditorInput(input);
fileInput = await this._editorService.createEditorInput(input);
}
}