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.
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
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
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.
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.
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.
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.
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!
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 @.
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).