Home Download Buy Blog Forum Support

How can I delete all the saved editor status of ST2 [HELP!!]

How can I delete all the saved editor status of ST2 [HELP!!]

Postby hzlzh on Tue Jun 05, 2012 8:10 am

I've used comand+shift+F to replace some string, but something wrong with my step.
Now when I try to close all the tabs, the alert window just pop-up one by one~~~~~~
there are hundreds of thousands tabs in my Sublime text 2. WTF!

I tried [Force Quit] & [re-install] & [delete all the files] (ps1), but next time it just the same question.

ps1: Run
Code: Select all
lsof | grep "Sublime"

delete all the files under:
/Users/hzlzh/Library/Saved Application State/com.sublimetext.2.savedState/
/Users/hzlzh/Library/Caches/com.sublimetext.2/
Image
please help me!
hzlzh
 
Posts: 3
Joined: Tue Jun 05, 2012 5:55 am

Re: How can I delete all the saved editor status of ST2 [HELP!!]

Postby hzlzh on Tue Jun 05, 2012 8:53 am

solved~
finally i just install an app named 'EasyFind' searching for all the string 'sublime' and delete.

now re-install Sublime Text 2, every goes welllllllllll
hzlzh
 
Posts: 3
Joined: Tue Jun 05, 2012 5:55 am

Re: How can I delete all the saved editor status of ST2 [HELP!!]

Postby jbjornson on Tue Jun 05, 2012 9:09 am

Glad you found a solution but confused why you didn't just choose to not save the file...
jbjornson
 
Posts: 358
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: How can I delete all the saved editor status of ST2 [HELP!!]

Postby kronik3r on Wed Jan 07, 2015 4:23 pm

Hi i know this is an old post but i'm gonna give the solution for future programmers :)

I tried this on ST3 so i don't know if it works on ST2


delete this file :

/Users/{put your user name here}/Library/Application Support/Sublime Text 3/Local/Auto Save Session.sublime_session

and you're good to go :)
kronik3r
 
Posts: 1
Joined: Wed Jan 07, 2015 4:16 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 37 guests