Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NotebookDocumentContentOptions

Notebook content options define what parts of a notebook are persisted. Note

For instance, a notebook serializer can opt-out of saving outputs and in that case the editor doesn't mark a notebooks as dirty when its output has changed.

层级

  • NotebookDocumentContentOptions

索引

Properties(3)

Optional transientOutputs

transientOutputs: boolean

Controls if outputs change will trigger notebook document content change and if it will be used in the diff editor Default to false. If the content provider doesn't persisit the outputs in the file document, this should be set to true.

Optional transientCellMetadata

transientCellMetadata: {}

Controls if a cell metadata property change will trigger notebook document content change and if it will be used in the diff editor Default to false. If the content provider doesn't persisit a metadata property in the file document, it should be set to true.

Type declaration

  • [key: string]: boolean | undefined

Optional transientDocumentMetadata

transientDocumentMetadata: {}

Controls if a document metadata property change will trigger notebook document content change and if it will be used in the diff editor Default to false. If the content provider doesn't persisit a metadata property in the file document, it should be set to true.

Type declaration

  • [key: string]: boolean | undefined

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹