[FEATURE] Drag-and-drop folders into the prompt to attach full folder context (VS Code extension)

Open 💬 0 comments Opened Jul 3, 2026 by Tiwari1802

Feature request

What: Allow dragging a folder into the Claude Code prompt (VS Code extension, and ideally the desktop app / CLI too) to attach it as context — the same way Shift+drag currently works for individual files.

Current behavior:

  • Shift+drag works for individual files only; dropping a folder does nothing useful.
  • @-mentioning a directory (e.g. @src/components/) inserts a directory listing, not file contents.

Desired behavior (like Cursor):

  • Dropping a folder attaches its files as context (recursively, respecting .gitignore), or at minimum inserts a directory reference that Claude is instructed to read fully.
  • Sensible guardrails: depth/size limits, ignore patterns, and a summary of what was attached.

Why: When a task spans a whole module, attaching files one by one is tedious. Cursor users switching to Claude Code expect folder drag-and-drop as the fast way to say "here's the full context."

Workaround today: @folder/ mention + asking Claude to read the files, which works but is an extra step and easy to miss for new users.

Related: #69877 (desktop app folder drag sets reference instead of working directory) — different ask, but shows folder drops are currently ambiguous.

Environment: VS Code extension on macOS.

View original on GitHub ↗