remove NotebookKernelProvider API and its implementation

This commit is contained in:
Johannes Rieken
2021-04-19 16:19:23 +02:00
parent f9fec24b45
commit 11c3ba58af
18 changed files with 125 additions and 847 deletions

View File

@@ -89,8 +89,6 @@ export class ExtHostNotebookEditor {
private _viewColumn?: vscode.ViewColumn;
private _visible: boolean = false;
private _kernel?: vscode.NotebookKernel;
private readonly _hasDecorationsForKey = new Set<string>();
private _editor?: vscode.NotebookEditor;
@@ -136,9 +134,6 @@ export class ExtHostNotebookEditor {
callback(edit);
return that._applyEdit(edit.finalize());
},
get kernel() {
return that._kernel;
},
setDecorations(decorationType, range) {
return that.setDecorations(decorationType, range);
}
@@ -147,10 +142,6 @@ export class ExtHostNotebookEditor {
return this._editor;
}
_acceptKernel(kernel?: vscode.NotebookKernel) {
this._kernel = kernel;
}
get visible(): boolean {
return this._visible;
}