mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
Document on Drop Sample
This sample shows usage of the document on drop API.
This sample adds two sample drop providers for plain text files:
-
ReverseTextOnDropProvider— This provider reverses any text dropped into a plain text editor. -
FileNameListOnDropProvider— This provider inserts a numbered list of files names. It accepts dropped files from VS Code's explorer, VS Code's open editors view, or from the operating system.