3

I use ctrlP to switch projects frequently. Until recently, I stored all of my .sublime-project and .sublime-workspace files in my home directory. In a recent cleanup I decided to move them all into a sub-folder of my home directory.

Now, the switch-project dialog shows the cached references to the old location of the project files alongside their new locations. It's a real pain in the rear because I have to compare the paths to make sure I select the correct entry.

Is there any way, short of nuking my install and starting fresh, to clear this cache?

1

1 Answer 1

4

Edit the "recent_workspaces" section of session.sublime_session in your settings folder. More details here:

http://sublimetext.userecho.com/topic/84110-switch-project-dialog-shows-deleted-projects/

2
  • 1
    It's also worth noting that you can't make your edits using Sublime. (Guessing, but it seems like it re-saves from memory on quit, so changes are lost.) Apr 11, 2013 at 12:42
  • The Project Management package helps to avoid this kind of issue by moving your project files to the Packages/Users/Projects folder and providing better command palette options for projects.
    – dang
    Nov 27, 2014 at 18:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .