resolveDocumentPasteEdit
abstract var resolveDocumentPasteEdit: (pasteEdit: T, token: CancellationToken) -> ProviderResult<T>?(source)
Optional method which fills in the DocumentPasteEdit.additionalEdit before the edit is applied.
This is called once per edit and should be used if generating the complete edit may take a long time. Resolve can only be used to change DocumentPasteEdit.insertText or DocumentPasteEdit.additionalEdit.
Parameters
pasteEdit
The DocumentPasteEdit to resolve.
token
A cancellation token.