Current Behavior
When selecting code in the editor and attempting to paste it into chat, Cursor pastes a reference to the file rather than the actual text content. This becomes particularly problematic when the referenced file is in the .cursorignore
file, as Cursor cannot recognize the pasted code reference.
Current Workaround
Currently, I need to:
- Copy the code from the editor
- Paste it into another text field
- Make a small edit (add a space or character)
- Copy it again
- Finally paste it into Cursor chat
Requested Feature
Implement a modifier key option (e.g., Shift+Copy or Alt+Copy) that allows copying the raw text content instead of a file reference when copying from the editor to paste into chat. This would maintain the current reference behavior by default while providing a direct way to copy actual code text when needed.
Benefits
- Eliminates tedious multi-step workaround
- Improves workflow efficiency
- Solves compatibility issues with
.cursorignore
files - Maintains existing functionality while adding an alternative option
Note: On Windows CTRL + Shift + V is NOT working.