@@ -18,7 +18,6 @@ import { IInteractiveHistoryService } from 'vs/workbench/contrib/interactive/bro
18
18
import { IResolvedNotebookEditorModel } from 'vs/workbench/contrib/notebook/common/notebookCommon' ;
19
19
import { ICompositeNotebookEditorInput , NotebookEditorInput } from 'vs/workbench/contrib/notebook/common/notebookEditorInput' ;
20
20
import { INotebookService } from 'vs/workbench/contrib/notebook/common/notebookService' ;
21
- import { IExtensionService } from 'vs/workbench/services/extensions/common/extensions' ;
22
21
23
22
export class InteractiveEditorInput extends EditorInput implements ICompositeNotebookEditorInput {
24
23
static create ( instantiationService : IInstantiationService , resource : URI , inputResource : URI , title ?: string ) {
@@ -79,8 +78,7 @@ export class InteractiveEditorInput extends EditorInput implements ICompositeNot
79
78
@IInteractiveDocumentService interactiveDocumentService : IInteractiveDocumentService ,
80
79
@IInteractiveHistoryService historyService : IInteractiveHistoryService ,
81
80
@INotebookService private readonly _notebookService : INotebookService ,
82
- @IFileDialogService private readonly _fileDialogService : IFileDialogService ,
83
- @IExtensionService private readonly _extensionService : IExtensionService
81
+ @IFileDialogService private readonly _fileDialogService : IFileDialogService
84
82
) {
85
83
const input = NotebookEditorInput . create ( instantiationService , resource , 'interactive' , { } ) ;
86
84
super ( ) ;
@@ -138,7 +136,6 @@ export class InteractiveEditorInput extends EditorInput implements ICompositeNot
138
136
return this . _inputResolver ;
139
137
}
140
138
141
- await this . _extensionService . activateByEvent ( 'onNotebook:interactive' ) ;
142
139
this . _inputResolver = this . _resolveEditorModel ( ) ;
143
140
144
141
return this . _inputResolver ;
0 commit comments