getcursor / cursor

The AI Code Editor
https://cursor.com
25.06k stars 1.56k forks source link

Code in the files are getting deleted #1671

Open Isaac-Porat opened 2 months ago

Isaac-Porat commented 2 months ago

I am using MacOS.

The code in my .py files are getting deleted at random times. I click on the file, and it loads with a "no elements" at the top. Sometimes the code loads and sometimes the code is gone. I am sometimes able to command + z and the code appears, or it doesn't appear and its gone forever.

Screenshot 2024-08-23 at 5 41 30 PM
PyroFilmsFX commented 2 months ago

Same here. But it seems it might be related to that it randomly can never save or delete files. Just hangs forever on Deleting... or Saving...

PyroFilmsFX commented 2 months ago

Update - this seems related to an issue of naming your folder with an extension. Re-creating the project without the folder itself having .py (dump mistake) seems to have fixed. That or just old project corrupted or smth.