Interface DocumentPasteEditContext

Additional information about the paste operation.

interface DocumentPasteEditContext {
    only: undefined | DocumentDropOrPasteEditKind;
    triggerKind: DocumentPasteTriggerKind;
}

Properties

Properties

only: undefined | DocumentDropOrPasteEditKind

Requested kind of paste edits to return.

When a explicit kind if requested by PasteAs, providers are encourage to be more flexible when generating an edit of the requested kind.

The reason why paste edits were requested.