VS Code: Support drag-and-drop for PDF and other file types in chat input
Feature Request
Current behavior: In the VS Code extension, only images (PNG/JPG/GIF/WebP) can be dragged into the chat input. For PDFs and other supported file types, users must manually copy the file path and ask Claude to read it.
Desired behavior: Allow drag-and-drop of PDF files (and other Claude-supported file types) directly into the chat input, just like images. Dragging a PDF from the VS Code file explorer into the chat should automatically trigger Claude to read it.
Use case: When reviewing documents alongside code, it's much more natural to drag a file in rather than copy its path. This is especially common for:
- Reviewing API documentation (PDF)
- Analyzing spec documents
- Reading design docs while coding
Workaround: Right-click file → Copy Path → paste into chat → ask Claude to Read it. Works but adds friction.
🤖 Generated with Claude Code
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗