Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 4 down vote accepted

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/

share|improve this answer
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.) – Adam Tuttle Apr 11 '13 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 '14 at 18:00

You must log in to answer this question.

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