Sublime Forum

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

#1

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 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/

please help me!

0 Likes

#2

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

0 Likes

#3

Glad you found a solution but confused why you didn’t just choose to not save the file…

0 Likes

#4

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

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 :smile:

0 Likes