Add option to disable "Paste as file reference"

Feature request for product/service

Cursor IDE

Describe the request

The chatbox in Cursor IDE is difficult to use for editing multi-line prompts. So I often make use of an empty file to edit prompts. However after I cut the text and paste it into chatbox, it appears as a reference to the “Untitled” temporary file. It’s quite NON-SENSE! Even if I cut/paste it into other editor and then copy/paste it back, it still show as reference. It’s sooooo stupid. Please at lease add an option so I can disable it.

Operating System (if it applies)

MacOS

This is very annoying and not intuitive. I am glad most of the time my code gets pasted as the file name with lines, but as you said, sometimes you want the plaintext to be pasted.

A solution that works on Windows is when pasting use the mac equivalent of Ctrl+Shift+V.

Maybe a solution you could suggest for this feature is that when you right click in the chat area, the context menu that pops up could include a “Paste Plaintext” menu item.

Another idea could be that after code is pasted and it is converted to a file with line numbers, you could right click on that bubble and choose “Convert to Plaintext”

This can be avoided by adding a space after you paste it into an editor before copying it again, this make it slightly different. But not necessary since Ctrl+Shift+V should do the trick.

Good luck.

Oh it works! Thank you so much!

On Mac it’s Cmd+Shift+V.

1 Like