Sublime Forum

Trying to collapse explorer folders == horror and disaster

#1

I missed the button to collapse all folders like in VSCode and tried some cmd+ctrl+shift clicks on the root folder in the hope that it would.

This ended up in disaster. One combo expanded every single folder (including node_modules) and froze up the IDE. I tried another which opened all 1 million files (including node_modules) in the project at once and further froze it.

Now since Sublime remembers previously opened projects and state by default, I can’t open Sublime anymore since it uses GB of mem and is in a perpetual frozen state.

How can I delete my local state so I can use Sublime again?

Also I’d suggest you apply some sensible limits to this as even on my powerful laptop it cannot handle it.

Thanks

0 Likes

#2

You might want to look for and clear "expanded_folders" list in either ST’s

  • <data>/Local/Session.sublime_session file.
  • the *.sublime-workspace associated with an open project.
1 Like

#3

Thanks I deleted the 3 files with “session” in the name under /Users//Library/Application Support/Sublime Text/Local/ and it worked

0 Likes