hypotheticalEric Posted October 6, 2015 Report Share Posted October 6, 2015 Is there any way to get an existing workspace to show up in the list in the GUI? Especially on Mac, but I think Windows too. I have an external hard drive I use for some projects because they are large, and sometimes Plastic starts without it plugged in which means it looks for the workspace on that drive, doesn't find it, so doesn't show it. That's great, but when I plug the drive back in I would like to make Plastic GUI know that workspace is available again. Is there some way to do this? Maybe a config file somewhere that stores the list of known workspaces if there isn't a GUI command for it? thanks! Link to comment Share on other sites More sharing options...
manu Posted October 16, 2015 Report Share Posted October 16, 2015 Hi! look, let me explain how the workspaces are registered. First we have a file called "plastic.workspaces" it's located at: * Win: "C:\Users\<Your_User>\AppData\Local\plastic4" * Linux & Mac: $HOME/.plastic4 and it contains the following information: * Workspace GUID * Workspace Name * Workspace Path Then, for each workspace location indexed in the plastic.workspaces file you will find a ".plastic\plastic.workspace" file containing: * Workspace Name * Workspace GUID As you may imagine the "Workspace GUID" must match to be a valid wks. If you restart the GUI Plastic should reload the file. And even if you don't restart it if you click in the refresh wkspace button in the GUI you'll get it back. Tell me if it helps. Link to comment Share on other sites More sharing options...
hypotheticalEric Posted December 21, 2015 Author Report Share Posted December 21, 2015 Sorry for the late reply - I hadn't been watching this topic so I just saw the update. That method works perfectly, on windows and Mac. I found that the entries on a particular line of the plastic.workspaces file have to be separated by a single tab also, otherwise they won't show up. thanks Manu! Link to comment Share on other sites More sharing options...
calbzam Posted December 23, 2015 Report Share Posted December 23, 2015 Great! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.