Interface CustomEditorsExt

interface CustomEditorsExt {
    $createCustomDocument(resource, viewType, openContext, cancellation): Promise<{
        editable: boolean;
    }>;
    $disposeCustomDocument(resource, viewType): Promise<void>;
    $disposeEdits(resourceComponents, viewType, editIds): void;
    $onMoveCustomEditor(handle, newResource, viewType): Promise<void>;
    $onSave(resource, viewType, cancellation): Promise<void>;
    $onSaveAs(resource, viewType, targetResource, cancellation): Promise<void>;
    $redo(resource, viewType, editId, isDirty): Promise<void>;
    $resolveWebviewEditor(resource, newWebviewHandle, viewType, title, position, options, cancellation): Promise<void>;
    $revert(resource, viewType, cancellation): Promise<void>;
    $undo(resource, viewType, editId, isDirty): Promise<void>;
}

Implemented by

Methods