Home Download Buy Blog Forum Support

Project Switcher "Unable to read project"

Project Switcher "Unable to read project"

Postby mattcdavis1 on Sat Oct 22, 2011 4:48 pm

When I open up the project switcher ("Switch Project in Window") dialog there are some projects that will not open because the .sublime-project file is no longer available (I get message "Unable to read project some/directory/path/someproject.sublime-project). How do I modify the projects that are listed in the project switcher dialog so that these items are removed? Also, it seems like project switcher doesn't show projects that are currently open - is there a way to show open projects in the project switcher as well?
mattcdavis1
 
Posts: 3
Joined: Sat Oct 22, 2011 4:39 pm

Re: Project Switcher "Unable to read project"

Postby Greyhead on Mon Mar 05, 2012 2:22 pm

Hi,

I'd like to bump the first part of this question - as a newbie I managed to create several 'odd' projects that have since been deleted . . . but still appear in the Project Switcher list. I've poked around the files but can't find where this list is generated from to edit it (if that is even possible).

Help please.

OK . . . as usually posting focuses the mind. I found the answer for myself before I clicked submit.

Close Sublime Text 2; open the file . . ./Settings/Session.sublime_session in an different text editor and look for the block workspaces : recent workspaces (at the end of the file in my case) and delete the unwanted lines. Save and re-open Sublime Text 2 and the 'ghosts' are gone from the Project Switcher.

Bob
Greyhead
 
Posts: 1
Joined: Mon Mar 05, 2012 1:59 pm

Re: Project Switcher "Unable to read project"

Postby Cottser on Tue Jul 10, 2012 6:16 pm

See also How do I remove a project from the "Switch Project window"? - if you go to Project > Recent Projects > Clear Items that will clean things up. You'll need to go and manually open your projects to repopulate the list though.
Cottser
 
Posts: 22
Joined: Sat Oct 08, 2011 12:24 am


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 20 guests