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' {
526526export namespace notebook {
527527export function registerNotebookContentProvider (
528528notebookType : 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+ }
530542) : Disposable ;
531543
532544export function registerNotebookKernelProvider (
You can’t perform that action at this time.
0 commit comments