Sublime Forum

Project Folders Intermittantly Blank for Large Projects

#1

Sublime Text 3: Build 3059
Mac OSX Mavericks: 10.9.3 Build 13D65

This is not in reference to https://forum.sublimetext.com/t/empty-folders-in-sidebar-in-st3-beta/11609/2&hilit=folders+empty#p57329 where projects from ST2 are showing blank folders when opened in ST3.

I’ve been using ST3 nearly every day now for the past several months with twelve projects of varying sizes. In my larger projects of untold number of files, I’ve noticed that the folders menu lags a bit before display. This is completely understandable as the same directories in Mac Finder take a bit of time to initiate before display due to the amount of files there.

Intermittently though the process hangs up and displays nothing in the folder sidebar except the most top level directory name of the project. The collapse arrow that normally refreshes the folder view when new files are onboard seems to be inactive for the duration. It is only after I completely close down Sublime and reopen it several times that I am able to display the folders. Smaller projects don’t seem to be affected.

0 Likes

#2

This has nothing to do with the projects size. I now believe this has to do with some kind of cache system that associates a directory with the name of a project.

I recently installed AMPPS on my system. I was saving my projects in a dropbox folder. Now I’m saving some of my projects in the AMPPS directory in the Applications folder.

I created a new project in the AMPPS folder with the same name as the project that was in the dropbox folder. When I drag and drop the new project folder into a blank Sumblime window all the folders show up fine and I save the project (using the same name as the project that still rests in the dropbox folder.) I then deleted the original project in the dropbox folder.

If I try to pull the project back up using Project -> Open Project, the project directory is completely blank. I was under the impression that the project folders were more capsulized than this? Where do I need to blank out the cache that is still referring to that old dropbox folder for this project? I have active workspaces in the new project folder I would like to recover.

0 Likes

#3

This has been a pain point for me in the past as well…

There may be a better way than this, but, there is a .sublime_session file that is located in the Local folder that has this data in it. The Local folder can be found in the same folder that contains your Installed Packages folder. For OS X the path is: /Users/YOUR_USER_NAME/Library/Application Support/Sublime Text 3/Local

Someone has created a script and states it can ease the pain of removing old projects, but, I’ve never used it viewtopic.php?f=5&t=13529&p=51931&hilit=remove+old+projects#p51931

0 Likes