Drag and Drop Git Diff Files into chat

Feature request for product/service

Cursor IDE

Describe the request

When looking at cursor’s changes I like to go through the Git tab in the sidebar (menu: explorer, files, >Git Changes<). When I select one file-diff I see a tab called file_name.xyz (Working Tree). I can use the built-in UI to check the diffts. When I find an issue I want to just drag that tab into the chat, like I do with any other file. However because it’s a “Working Tree” tab I cannot seem to drag it in. I have to find the same file again as a normal file, then drag that one in. Pretty annoying stuff.

Hey, thanks for the request.

I get why this would be useful. Right now, Working Tree tabs don’t support drag-and-drop into Chat.

Workaround: Instead of dragging, use @filename in Chat. That will add the file to the context without needing to find it again in the file tree.

I’ll pass your request to the team. This would be really handy when working with git diffs.

1 Like