@@ -18,7 +18,6 @@ import { noop } from '../../common/utils/misc';
1818import  {  JupyterNotebookView  }  from  './constants' ; 
1919import  {  isJupyterNotebook  }  from  './helpers/helpers' ; 
2020import  {  VSCodeKernelPickerProvider  }  from  './kernelProvider' ; 
21- import  {  NotebookOutputRenderer  }  from  './renderer' ; 
2221import  {  INotebookContentProvider  }  from  './types' ; 
2322
2423const  EditorAssociationUpdatedKey  =  'EditorAssociationUpdatedToUseNotebooks' ; 
@@ -36,7 +35,6 @@ export class NotebookIntegration implements IExtensionSingleActivationService {
3635 @inject ( IDisposableRegistry )  private  readonly  disposables : IDisposableRegistry , 
3736 @inject ( INotebookContentProvider )  private  readonly  notebookContentProvider : INotebookContentProvider , 
3837 @inject ( VSCodeKernelPickerProvider )  private  readonly  kernelProvider : VSCodeKernelPickerProvider , 
39-  @inject ( NotebookOutputRenderer )  private  readonly  renderer : NotebookOutputRenderer , 
4038 @inject ( IApplicationEnvironment )  private  readonly  env : IApplicationEnvironment , 
4139 @inject ( IApplicationShell )  private  readonly  shell : IApplicationShell , 
4240 @inject ( IWorkspaceService )  private  readonly  workspace : IWorkspaceService , 
@@ -66,34 +64,6 @@ export class NotebookIntegration implements IExtensionSingleActivationService {
6664 this . kernelProvider 
6765 ) 
6866 ) ; 
69-  this . disposables . push ( 
70-  this . vscNotebook . registerNotebookOutputRenderer ( 
71-  'jupyter-notebook-renderer' , 
72-  { 
73-  mimeTypes : [ 
74-  'application/geo+json' , 
75-  'application/vdom.v1+json' , 
76-  'application/vnd.dataresource+json' , 
77-  'application/vnd.plotly.v1+json' , 
78-  'application/vnd.vega.v2+json' , 
79-  'application/vnd.vega.v3+json' , 
80-  'application/vnd.vega.v4+json' , 
81-  'application/vnd.vega.v5+json' , 
82-  'application/vnd.vegalite.v1+json' , 
83-  'application/vnd.vegalite.v2+json' , 
84-  'application/vnd.vegalite.v3+json' , 
85-  'application/vnd.vegalite.v4+json' , 
86-  'application/x-nteract-model-debug+json' , 
87-  'image/gif' , 
88-  'image/png' , 
89-  'image/jpeg' , 
90-  'text/latex' , 
91-  'text/vnd.plotly.v1+html' 
92-  ] 
93-  } , 
94-  this . renderer 
95-  ) 
96-  ) ; 
9767 }  catch  ( ex )  { 
9868 // If something goes wrong, and we're not in Insiders & not using the NativeEditor experiment, then swallow errors. 
9969 traceError ( 'Failed to register VS Code Notebook API' ,  ex ) ; 
0 commit comments