File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,19 @@ declare module 'vscode' {
526
526
export namespace notebook {
527
527
export function registerNotebookContentProvider (
528
528
notebookType : string ,
529
- provider : NotebookContentProvider
529
+ provider : NotebookContentProvider ,
530
+ options ?: {
531
+ /**
532
+ * Controls if outputs change will trigger notebook document content change and if it will be used in the diff editor
533
+ * Default to false. If the content provider doesn't persisit the outputs in the file document, this should be set to true.
534
+ */
535
+ transientOutputs : boolean ;
536
+ /**
537
+ * Controls if a meetadata property change will trigger notebook document content change and if it will be used in the diff editor
538
+ * Default to false. If the content provider doesn't persisit a metadata property in the file document, it should be set to true.
539
+ */
540
+ transientMetadata : { [ K in keyof NotebookCellMetadata ] ?: boolean }
541
+ }
530
542
) : Disposable ;
531
543
532
544
export function registerNotebookKernelProvider (
You can’t perform that action at this time.
0 commit comments