Sublime Forum

Stop opening all projects that were open before on execution of Sublime Text 3

#1

I’m not too sure if this can be done through Sublime Text 3, specifically, but basically this is my situation:

I have a bunch of projects that I’ve opened in Sublime, around 5. I usually just adjust the boxes while I code or I pop back and forth between a couple.

Recently I ran some composer updates on some packages in my project, but after looking at some of the core files in the IDE before I ran this update caused Sublime to show a prompt asking to reload the file.

Since I had a bunch of these open, it keeps locking up and freezing every project window.

Is there any way that I can tell sublime remove any cached representations of the project so it doesn’t try to re-open them when I execute the Sublime application?

For instance, my desired effect would be clicking the Sublime Text 3 application icon and then only opening an empty window with the option to open any project.

Any thoughts on how I could achieve this?

Cheers

0 Likes

#2

I think you want to turn off hot_exit (it defaults to being turned on):

    // Exiting the application with hot_exit enabled will cause it to close
    // immediately without prompting. Unsaved modifications and open files will
    // be preserved and restored when next starting.
    //
    // Closing a window with an associated project will also close the window
    // without prompting, preserving unsaved changes in the workspace file
    // alongside the project.
    "hot_exit": true,
1 Like

#3

Awesome, that did the trick!

I appreciate it.

0 Likes