@@ -14528,6 +14528,7 @@ export module '@theia/plugin' {
1452814528 *
1452914529 * @returns The resolved edit or a thenable that resolves to such. It is OK to return the given
1453014530 * `edit`. If no result is returned, the given `edit` is used.
14531+ * @stubbed
1453114532 */
1453214533 resolveDocumentDropEdit?(edit: T, token: CancellationToken): ProviderResult<T>;
1453314534 }
@@ -14728,48 +14729,6 @@ export module '@theia/plugin' {
1472814729 */
1472914730 export type CharacterPair = [string, string];
1473014731
14731- /**
14732- * An edit operation applied {@link DocumentDropEditProvider on drop}.
14733- */
14734- export class DocumentDropEdit {
14735- /**
14736- * The text or snippet to insert at the drop location.
14737- */
14738- insertText: string | SnippetString;
14739-
14740- /**
14741- * An optional additional edit to apply on drop.
14742- */
14743- additionalEdit?: WorkspaceEdit;
14744-
14745- /**
14746- * @param insertText The text or snippet to insert at the drop location.
14747- */
14748- constructor(insertText: string | SnippetString);
14749- }
14750-
14751- /**
14752- * Provider which handles dropping of resources into a text editor.
14753- *
14754- * This allows users to drag and drop resources (including resources from external apps) into the editor. While dragging
14755- * and dropping files, users can hold down `shift` to drop the file into the editor instead of opening it.
14756- * Requires `editor.dropIntoEditor.enabled` to be on.
14757- */
14758- export interface DocumentDropEditProvider {
14759- /**
14760- * Provide edits which inserts the content being dragged and dropped into the document.
14761- *
14762- * @param document The document in which the drop occurred.
14763- * @param position The position in the document where the drop occurred.
14764- * @param dataTransfer A {@link DataTransfer} object that holds data about what is being dragged and dropped.
14765- * @param token A cancellation token.
14766- *
14767- * @return A {@link DocumentDropEdit} or a thenable that resolves to such. The lack of a result can be
14768- * signaled by returning `undefined` or `null`.
14769- */
14770- provideDocumentDropEdits(document: TextDocument, position: Position, dataTransfer: DataTransfer, token: CancellationToken): ProviderResult<DocumentDropEdit>;
14771- }
14772-
1477314732 /**
1477414733 * Represents a session of a currently logged in user.
1477514734 */
0 commit comments