Hi, thanks for reporting an issue with Cursor.
Before you report this, we’d appreciate if you can search this forum to see if this issue has already been reported.
If you have done so, please check this box.
on
Describe the Bug
I have Chat open and asking it about my code.
Sometimes when I click an empty space in the chat, cursor decides to update my open scripts and replace some random keys with //.
Undo (Ctrl+Z) fixes my code back to what it was, but it does it to multiple open tabs. Annoying af.
It happens constantly.
Happened on previous versions, then updated Cursor and still happens.
Steps to Reproduce
Talk in chat about your code and when there are some code outputs, click in the empty space of the chat.
Double-check your code.
Expected Behavior
Absolutely nothing lol.
I have a habit of clicking empty parts of the screen.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.44.8
VSCode Version: 1.93.1
Commit: f3b5a63019e4e2283033b4db987a35f8413c7570
Date: 2024-12-22T05:48:08.427Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
Additional Information
Using gpt-4o, if that helps.
Does this stop you from using Cursor
No - Cursor works, but with this issue
Update
This is happening every time I send a prompt to the Chat window.?
Happened with the Composer too… Will check my extensions.
I only have these extensions enabled for comments, but never had this problem before:
https://marketplace.visualstudio.com/items?itemName=Dervex.universal-comments
https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-hide-comments