Home Download Buy Blog Forum Support

Get back deleted file

Get back deleted file

Postby tallmorgan on Sun Oct 16, 2011 6:34 am

Hi Sublime Text & users,

I am a big fan of the ST2 text editor. However…

I recently tried deleting a folder by Right Click > Delete Folder. That didn’t work. I was given the option Right Click > Delete File. I clicked it. I saw a swoosh meaning that a file left, but my folder was still there.

I am now sweating, as a random file is now deleted, my admin section does not work, and I cannot find the file in the Recycle Bin.

I have not shut down ST2. Please let me know if I can undo deleting this file.

Edit: I am not using Git or SVN. This is the only copy of the file.
tallmorgan
 
Posts: 1
Joined: Sun Oct 16, 2011 6:33 am

Re: Get back deleted file

Postby atomi on Sun Oct 16, 2011 2:59 pm

It's gone buddy.
If you aren't using revision control at the very least use dropbox.
http://db.tt/YK2TKvrT (shameless referral).

I know that in Eclipse you can retrieve old versions of your file through the history pane and I guess that could be a feature request for ST2.
You would need to create the file again, right click on it and choose history then you would get a list of various versions of the file that have been cached in the past. That would be pretty nice. This could also be a plugin I suppose.
atomi
 
Posts: 342
Joined: Thu Jan 20, 2011 5:06 pm
Location: Los Angeles CA US

Re: Get back deleted file

Postby tito on Sun Oct 16, 2011 4:23 pm

Plugin "SideBar Enhancements" viewtopic.php?f=5&t=3331 provides "Send To Trash" on delete.
It works on Windows and Linux ( fedora, gnome ) I don't know if works on Mac. When fails it ask for "Permanently Delete?"
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 15 guests