Skip to content

[FEATURE] : Support drag-and-drop files/folders into prompt input #51027

Description

@chuccv

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Currently Claude Code only supports typing @ to reference files, which is slow when paths are long or deeply nested. Users often already have the file/folder visible in their OS file explorer or VSCode sidebar, but still have to type or search for it manually.

Proposed Solution

Allow users to drag-and-drop files or folders from the OS file explorer (Finder/Explorer) or VSCode sidebar directly into the Claude Code chat input. On drop, the path should be auto-inserted in @path/to/file format (same as typing @).

Should support:

  • Single file drop
  • Multiple files at once
  • Folders (inserted as @path/to/folder/)
  • Works in both CLI terminal and VSCode extension input box

Alternative Solutions

Typing @ with autocomplete works but is slow for long/nested paths.

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

No response

Additional Context

No response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions