Skip to content

Feature Request: Drag and Drop Files/Folders from Workspace Panel to Chat #1097

@yuannight

Description

@yuannight

Feature Description

Enable drag-and-drop functionality to move files and folders directly from the Workspace Panel (right sidebar) into the chat session (center panel).

Motivation

Currently, users need to manually type file paths or use the @ mention syntax to reference files in the workspace. This is tedious, especially for deeply nested files. Allowing drag-and-drop would significantly improve the UX for:

  • Attaching code files for review
  • Sharing configuration files with the agent
  • Quickly including multiple files in a single message

Proposed Solution

  1. Make files/folders in the workspace panel draggable
  2. When dropped into the chat input/composer area:
    • Single file: Insert @/path/to/file at cursor position
    • Multiple files: Insert @/path/to/file1 @/path/to/file2 ...
    • Folder: Insert @/path/to/folder/ (or list all files inside)

Additional Context

The workspace panel already supports file browsing and inline previews. Adding drag-and-drop would make the file → chat workflow much smoother.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions