Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CustomDocumentOpenContext

Additional information about the opening custom document.

层级

  • CustomDocumentOpenContext

索引

Properties(2)

Properties(2)

Optional Readonly backupId

backupId: string

The id of the backup to restore the document from or undefined if there is no backup.

If this is provided, your extension should restore the editor from the backup instead of reading the file from the user's workspace.

Optional Readonly untitledDocumentData

untitledDocumentData: Uint8Array

If the URI is an untitled file, this will be populated with the byte data of that file

If this is provided, your extension should utilize this byte data rather than executing fs APIs on the URI passed in

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

Generated by TypeDoc. Maintained by 洛竹