I’ve deleted the .sublime-project and .sublime-workspace files but the project is still shown in the list.
Also how do I rename a project?
I’ve deleted the .sublime-project and .sublime-workspace files but the project is still shown in the list.
Also how do I rename a project?
It’s okay. I found it in the “clear recent” menu option and I just renamed my projects before reopening.
Try this solution: http://sublimetext.userecho.com/topic/84110-switch-project-dialog-shows-deleted-projects/
You only need to edit last section
"workspaces":
{
"recent_workspaces":
"/../../test-1.sublime-project",
"/../../test-2.sublime-project",
"/../../test-3.sublime-project"
]
}
This link appears to be dead. What file shows this list of recent workspaces?
Just a quick note: sublime needs to be closed when you edit that file (you need to edit with either portable sublime or other editor).
Want to add here that on Mac OS X, the location to the session file is:
~/Library/Application Support/Sublime Text 3/Local/Session.sublime_session
If like me and there are 4,000 lines of code.
You can save yourself the bother and scroll to the very bottom.
@kingkeith is that like this that comes with the project manager plugin mentioned above?
I have a bunch of dead projects and that option from the Project Manager package did not find any.
However, OdatNurd’s script worked well. It removed 33.
The script you’re talking about is the one @kingkeith linked to: https://github.com/STealthy-and-haSTy/SublimeScraps/tree/master/session_cleaner
And on Linux (Ubuntu 22.04), it’s here:
.config/sublime-text-3/Local/Session.sublime_session
(Way at the bottom.)