Theia API Documentation v1.65.0
    Preparing search index...

    A backup for an CustomDocument.

    interface CustomDocumentBackup {
        id: string;
        delete(): void;
    }
    Index

    Properties

    Methods

    Properties

    id: string

    Unique identifier for the backup.

    This id is passed back to your extension in openCustomDocument when opening a custom editor from a backup.

    Methods

    • Delete the current backup.

      This is called by VS Code when it is clear the current backup is no longer needed, such as when a new backup is made or when the file is saved.

      Returns void