# Copy/Paste into Chat and Composer Is Broken

**URL:** <https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730>\
**Category:** Bug Reports\
**Created:** [August 26, 2024, 6:32pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730 "2024-08-26T18:32:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![soothaa](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/soothaa/32/3539_2.png) [@soothaa](https://forum.cursor.com/u/soothaa)\
**Post date:** [August 26, 2024, 6:32pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/1 "2024-08-26T18:32:44Z")

</div>

Upgraded to the latest version available today, and I can no longer copy/paste into the chat window or composer. Restarted application multiple times, no dice.

Version: 0.40.1

VSCode Version: 1.91.1

Commit: 58b91712431381a1b75817cd3437cee35dddcb30

Date: 2024-08-24T02:52:24.035Z (2 days ago)

Electron: 29.4.0

ElectronBuildId: undefined

Chromium: 122.0.6261.156

Node.js: 20.9.0

V8: 12.2.281.27-electron.0

OS: Darwin arm64 23.3.0

---

<div class="post-metadata">

**Author:** ![litecode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/litecode/32/2966_2.png) [@litecode](https://forum.cursor.com/u/litecode)\
**Post date:** [August 26, 2024, 6:38pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/2 "2024-08-26T18:38:00Z")

</div>

Hi @soothaa ,

Out of interest, does this only happen if the content you are pasting in has spaces or non-alphanumeric text at the start of the lines?

I have experienced this behaviour for a while:

> [@Copy paste dont work from editor to composer](https://forum.cursor.com/t/copy-paste-dont-work-from-editor-to-composer/7717/2):
>
> Yes, I have noticed this behaviour. It happens with most characters that are not ‘normal letters’. If the line does not start with a normal letter, then it does not paste. If you paste in another text editor, remove those characters, and then copy and paste again, it works. You might want to re-categorise this topic as a Bug Report, as I think it is a bug.

---

<div class="post-metadata">

**Author:** ![soothaa](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/soothaa/32/3539_2.png) [@soothaa](https://forum.cursor.com/u/soothaa)\
**Post date:** [August 26, 2024, 6:45pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/3 "2024-08-26T18:45:41Z")

</div>

> [@litecode](#):
>
> > [@](#):
> >
> > Yes, I have noticed this behaviour. It happens with most characters that are not ‘normal letters’. If the line does not start with a normal letter, then it does not paste. If you paste in another text editor, remove those characters, and then copy and paste again, it works. You might want to re-categorise this topic as a Bug Report, as I think it is a bug.

Interesting. I wasn’t trying to, but maybe there’s something funky hidden. If I copy just a word or two it’s working.

---

<div class="post-metadata">

**Author:** ![fun\_strange](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@fun\_strange](https://forum.cursor.com/u/fun_strange)\
**Post date:** [August 26, 2024, 7:51pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/4 "2024-08-26T19:51:14Z")

</div>

Pasting into composer also hasn’t been working for me with multi line content. Haven’t fully tried it on 0.40.1 yet though

---

<div class="post-metadata">

**Author:** ![litecode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/litecode/32/2966_2.png) [@litecode](https://forum.cursor.com/u/litecode)\
**Post date:** [August 26, 2024, 10:44pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/5 "2024-08-26T22:44:51Z")

</div>

I know @shaoruu was interested in getting a reproduceable example, I haven’t had one recently so couldn’t assist, but if you have any non-sensitive example content you could share with him, I think he would be grateful:

> [@Copy paste dont work from editor to composer](https://forum.cursor.com/t/copy-paste-dont-work-from-editor-to-composer/7717/3):
>
> Hi @litecode, Could you send me an example to reproduce this problem? Thank you!

---

<div class="post-metadata">

**Author:** ![quang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/quang/32/3586_2.png) [@quang](https://forum.cursor.com/u/quang)\
**Post date:** [August 27, 2024, 12:28pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/6 "2024-08-27T12:28:57Z")

</div>

I have the same problem. Copy and paste suddenly stop working inside Cursor. Evening clicking Copy/Paste in the Edit menu does not work.

---

<div class="post-metadata">

**Author:** ![soothaa](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/soothaa/32/3539_2.png) [@soothaa](https://forum.cursor.com/u/soothaa)\
**Post date:** [August 27, 2024, 12:43pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/7 "2024-08-27T12:43:59Z")

</div>

> [@litecode](#):
>
> I know @shaoruu was interested in getting a reproduceable example, I haven’t had one recently so couldn’t assist, but if you have any non-sensitive example content you could share with him, I think he would be grateful:

I don’t seem to be able to attach a text file, so trying to dump the text here

```auto
My json object now has a property of 'pinned' - if the value is 1 I want the entry pinned to the top of my datatables, regardless of user sorting options. But only if the filtering would display it normally.

I'm told this link contains the proper way of doing this: @https://datatables.net/reference/option/orderFixed 

I only want a maximum number of 2 pinned items actually pinned. The way we should determine is by picking the items that have the highest row.micrograde. Items that are not selected to be the 2 selected at the top should be saved off into another list. When we update or change the filtering/sorting, we need to reevaluate which 2 items are displayed.

The end goal is that there are always 2 special items at the first 2 entries of the datatable that match the filtering appropriately.

Please provide a complete and comprehensive solution for this, accounting for all the javascript functions and requirements. Once completed, please recheck your work and critique it, and make a final update pass based on the critique.

```

Edit: Confirming copying/pasting from above does not work

---

<div class="post-metadata">

**Author:** ![litecode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/litecode/32/2966_2.png) [@litecode](https://forum.cursor.com/u/litecode)\
**Post date:** [August 27, 2024, 12:55pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/8 "2024-08-27T12:55:17Z")

</div>

@shaoruu - here is another users example of text that cannot be copy/pasted into chat 👆🏾

---

<div class="post-metadata">

**Author:** ![nickz22](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/nickz22/32/4413_2.png) [@nickz22](https://forum.cursor.com/u/nickz22)\
**Post date:** [September 10, 2024, 10:24pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/9 "2024-09-10T22:24:57Z")

</div>

I’m also experiencing this issue when pasting the following JSON into the composer -

```auto
{
    "attributes": {
        "type": "st_patch_stg __Site__ c",
        "url": "/services/data/v37.0/sobjects/st_patch_stg __Site__ c/a2LHr000001s4wRMAQ"
    },
    "Id": "a2LHr000001s4wRMAQ",
    "st_patch_stg __Location__ Latitude__s": 30.263961,
    "st_patch_stg __Location__ Longitude__s": -97.744801,
    "st_patch_stg __Site_Status__ c": "Active",
    "st_patch_stg __Site_Type__ c": "EV Charging Station",
    "st_patch_stg __State__ c": null,
    "st_patch_stg __County__ c": null,
    "st_patch_stg __Full_Address__ c": "100 Congress Ave <br>Austin, 78701",
    "st_patch_stg __City__ c": "Austin",
    "Country__c": "United States",
    "demo_Date__c": "2024-04-30",
    "CreatedDate": "2023-11-14T01:25:35.000+0000",
    "Name": "100 CONGRESS / STATION 1"
}

```

---

<div class="post-metadata">

**Author:** ![alireza-ahmadi](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/alireza-ahmadi/32/5004_2.png) [@alireza-ahmadi](https://forum.cursor.com/u/alireza-ahmadi)\
**Post date:** [September 16, 2024, 1:03pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/10 "2024-09-16T13:03:35Z")

</div>

I have the same problem with composer.

What am I doing? I create a markdown file, write a prompt and copy paste it into composer.

It’s worth noting that if I open command palette, select “Developer: Reload Window” , pasting works until I run the prompt. After that, if I create new composers, pasting won’t work.

---

<div class="post-metadata">

**Author:** ![dvyio](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dvyio/32/3453_2.png) [@dvyio](https://forum.cursor.com/u/dvyio)\
**Post date:** [September 17, 2024, 5:40pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/11 "2024-09-17T17:40:33Z")

</div>

I’ve had the same issue for a few weeks. I’ve noticed I can’t copy & paste blocks of code into the Composer, but I can _sometimes_ paste single lines of code.

---

<div class="post-metadata">

**Author:** ![dzineer](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dzineer/32/5433_2.png) [@dzineer](https://forum.cursor.com/u/dzineer)\
**Post date:** [September 19, 2024, 11:01am UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/12 "2024-09-19T11:01:39Z")

</div>

Why has the creator of Cursor not even responded?

---

<div class="post-metadata">

**Author:** ![fun\_strange](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@fun\_strange](https://forum.cursor.com/u/fun_strange)\
**Post date:** [September 19, 2024, 12:42pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/13 "2024-09-19T12:42:47Z")

</div>

I’ve notified the devs about this issue, hopefully they can find a solution!

---

<div class="post-metadata">

**Author:** ![markmcdon7](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/markmcdon7/32/12653_2.png) [@markmcdon7](https://forum.cursor.com/u/markmcdon7)\
**Post date:** [November 22, 2024, 3:10am UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/14 "2024-11-22T03:10:32Z")

</div>

Same problem. Its now November whats the deal?

---

<div class="post-metadata">

**Author:** ![ezhsergei](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ezhsergei/32/15861_2.png) [@ezhsergei](https://forum.cursor.com/u/ezhsergei)\
**Post date:** [December 13, 2024, 10:47pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/15 "2024-12-13T22:47:04Z")

</div>

Still seeing this bug, but more specifically I can’t paste in something that has a url that is @-mentioned. Text without URLs works, even with hyperlinks to files.

---

<div class="post-metadata">

**Author:** ![renatodex](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/renatodex/32/16514_2.png) [@renatodex](https://forum.cursor.com/u/renatodex)\
**Post date:** [December 19, 2024, 2:25am UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/16 "2024-12-19T02:25:10Z")

</div>

I can’t believe I had to create an account here only to report that FREAKING CTRL+V is not working in a simple textarea. 💢

But yes, it’s not possible to paste anything that’s not regular text.  
I was able to paste links, files or anything else, but you cant do it with regular text.

---

<div class="post-metadata">

**Author:** ![michaelrishiforreste](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/michaelrishiforreste/32/19317_2.png) [@michaelrishiforreste](https://forum.cursor.com/u/michaelrishiforreste)\
**Post date:** [January 9, 2025, 6:56pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/17 "2025-01-09T18:56:01Z")

</div>

same here… unable to paste text from one window to the next… and the Add to Composer feature or Add to Chat neither of them work.

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 13, 2025, 2:46pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/18 "2025-01-13T14:46:22Z")

</div>

Hey, are you using a more advanced feature in Cursor, like Remote SSH or DevContainers?

My guess is the cause here is that, when you paste a snippet of code from a file, the Composer/Chat is smart enough to see where you copied it from, and reference the snippet in the file directly, not just drop in the raw code. However, if the editor is failing to link the snippet to the file, that may be why it’s not showing up!

---

<div class="post-metadata">

**Author:** ![lmacka](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/lmacka/32/20367_2.png) [@lmacka](https://forum.cursor.com/u/lmacka)\
**Post date:** [January 15, 2025, 11:42pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/19 "2025-01-15T23:42:53Z")

</div>

This is still very much an issue. Occasionally trying to paste a URL (especially if it’s copied from a Chat window into a Composer window) will break the ability to paste into Composer. Restarting the application doesn’t fix it.

Current solution is to delete ~/.config/Cursor/User/History and restart the app. Pasting works again, but still can’t paste a URL that begins with @.

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 18, 2025, 9:53pm UTC](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730/20 "2025-01-18T21:53:48Z")

</div>

Ah, pasting a URL with @ might cause issues, as we use @ for the context tagging (as I’m sure you know!).

I’ll add this to our backlog to look into, but for now, you may have better luck using CMD+Shift+V to paste, as this will stop Cursor from trying to parse our the URL to be read as context, and instead paste it as a normal string (if that is what you are trying to do).

[Next page](https://forum.cursor.com/t/copy-paste-into-chat-and-composer-is-broken/12730.md?page=2)
