TacoByte
(Taco Byte)
January 12, 2025, 5:39am
1
It seems that Cursor just vaporises files it deletes instead of putting them in the OS trash bin or maybe some kind of .deleted folder.
I just mistakenly gave the go ahead to Cursor to delete a file and I am now sorry out of luck! Restoring to an earlier checkpoint doesn’t recover it.
This can’t possibly be the intended behaviour?
jake
January 12, 2025, 10:00am
2
I tested this on MacOS:
As you reported, it did not go into the recycle bin. I believe this is because it was deleted via the command line.
In my case, the restore button did bring it back.
Are you certain there is no restore button at a checkpoint right before the file was deleted? Probably a failsafe the Cursor team put in place.
AlanShah
(Alan Shah)
July 25, 2025, 5:23am
3
This worked for me :
1-Open your project in Cursor,press Command + Shift + P (Mac) or Ctrl + Shift + P (Windows),
2-type “Local History,” and then search for the file name to see if you can restore it from a previous version
The original project file is the one listed without a directory path
And Result :
1 Like
If restore doesn’t work, or there isn’t one, Create a file in the exact same directory with the same name, once you do that it should show the timeline changes again and you should be able to restore it that way. worked for me.
Mr_M
(Mr M)
October 26, 2025, 6:14pm
5
Amazing! Just what I was looking for Thanks!