cline icon indicating copy to clipboard operation
cline copied to clipboard

增加addfile to chat的快捷菜单功能

Open GayeChen opened this issue 6 months ago • 2 comments

What problem does this solve?

当前想要将一个文件/文件夹路径添加到对话框比较繁琐,我需要先复制文件的路径,然后再切换到插件界面,然后使用@操作,再粘贴路径,这样操作比较繁琐

What's the proposed solution?

在文件的菜单上增加一个选项,让文件视角下可以快速切换到@文件,并开始新任务

Are you interested in implementing this?

Yes, I'd like to implement this myself

Implementation approach (if contributing)

我想要添加一个指令,在文件的菜单选项中增加一个选项add file to cline,然后调用内部addToInput工具将当前文件路径的直接添加到chat

Proposal checklist

  • [x] I've checked for existing issues or related proposals
  • [x] I understand this needs review before implementation can start

Contribution checklist (if contributing)

  • [x] I've read the Contributing Guide
  • [x] I'm willing to make changes based on feedback
  • [x] I understand the code review process and requirements

GayeChen avatar Jun 26 '25 03:06 GayeChen

you can currently drag/drop files into the search box when you hold down shift or select the '+' button to select files from your computer. i'm not sure if this is what youre referring to

0xToshii avatar Jun 26 '25 19:06 0xToshii

I want to add the path of a file to the chatbox in the file perspective, like this:

Image

Image

GayeChen avatar Jun 27 '25 02:06 GayeChen

This is a great feature idea! Can you please create a feature request here so that we can get around to adding it? 🙏 https://github.com/cline/cline/discussions/categories/feature-requests

saoudrizwan avatar Jul 26 '25 13:07 saoudrizwan