sublimetext2

How to close all tabs with Sublime Text 2 without saving?


I use Sublime Text 2 for editing a lot of temporary files. I end up with lots of tabs open.

I want to close all open tabs without saving and without the "Do you want to save the changes you made to new file?" prompt showing and having to click on "Don't Save" for each tab.


Solution

  • Just found the solution !!! Better to share it on StackOverflow :

    1) Go to preferences, Setting-Default enter image description here

    2) Change the value of the 2 parameters "hot_exit" and "remember_open_files" to false enter image description here

    3) Kill Sublime Text brutally with the Task Manager

    4) Launch Sublime Text

    Cheers !