Readonly
dropList of DataTransfer mime types that the provider can handle.
This can either be an exact mime type such as image/png
, or a wildcard pattern such as image/*
.
Use text/uri-list
for resources dropped from the explorer or other tree views in the workbench.
Use files
to indicate that the provider should be invoked if any files are present in the DataTransfer.
Note that DataTransferFile entries are only created when dropping content from outside the editor, such as
from the operating system.
Optional
Readonly
providedList of kinds that the provider may return in provideDocumentDropEdits
.
This is used to filter out providers when a specific kind of edit is requested.
Provides additional metadata about how a
DocumentDropEditProvider
works.