Dragging and dropping files into and out of VS Code

Drag and drop files from your Explorer/Finder into VS Code to open them in the editor. Drop the file into VS Code’s explorer to copy it into the project

You can also drag and drop files from VS Code back into your Explorer/Finder