diff --git a/src/sql/parts/notebook/cellViews/code.component.ts b/src/sql/parts/notebook/cellViews/code.component.ts index 3451b8b4c5..33f9d0937f 100644 --- a/src/sql/parts/notebook/cellViews/code.component.ts +++ b/src/sql/parts/notebook/cellViews/code.component.ts @@ -128,7 +128,6 @@ export class CodeComponent extends AngularDisposable implements OnInit, OnChange let uri = this.createUri(); this._editorInput = instantiationService.createInstance(UntitledEditorInput, uri, false, this.cellModel.language, '', ''); this._editor.setInput(this._editorInput, undefined); - this._editor.focus(); this._editorInput.resolve().then(model => { this._editorModel = model.textEditorModel; this._modelService.updateModel(this._editorModel, this.cellModel.source);