User forums > Using Code::Blocks
Recent Projects
MortenMacFly:
--- Quote from: Zini on October 29, 2009, 11:41:36 pm ---http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2844&group_id=5358
--- End quote ---
Sorry, This cannot be the solution. After this patch you'll never get recent projects added to the list. I had to reject the patch therefore.
The right way would be:
Is there a WS? && Is this *not* the default WS?
-> Do not add to recent projectes
Else add to recent projectes.
Jenna:
--- Quote from: MortenMacFly on October 30, 2009, 09:07:12 am ---
--- Quote from: Zini on October 29, 2009, 11:41:36 pm ---http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2844&group_id=5358
--- End quote ---
Sorry, This cannot be the solution. After this patch you'll never get recent projects added to the list. I had to reject the patch therefore.
The right way would be:
Is there a WS? && Is this *not* the default WS?
-> Do not add to recent projectes
Else add to recent projectes.
--- End quote ---
Absolutely correct, but saving the projects or workspaces from the context-menu of the projects-tree should work in the same way.
At the moment, the recent-projects-list is ignored in this case.
Zini:
--- Quote ---Sorry, This cannot be the solution. After this patch you'll never get recent projects added to the list. I had to reject the patch therefore.
--- End quote ---
That is not what I am experience here. Even with the patch recent projects are still added to the list.
The problem with the unpatched code is that projects are added on opening as well as on saving. Doing only one of them (opening) would be completely sufficient IMHO.
Zini:
btw. I made a little census regarding the behaviour of the recent file list in various applictions. Adding only on open wins over adding on open and save with 60% (though my sample size is much too small to give representative results).
But considering that you can't save a project without opening it first, not adding the project on save seems to be the right solution, since the project is already guaranteed to be in the recent list (unless it was open indirectly as a part of a workspace, which is exactly the behaviour we want).
johne53:
I would just qualify that by adding that whatever gets added to the list (on open) it should be restricted to whatever the user actually opened and not to other things that happened to get opened as a consequence. In other words, if I open a workspace containing 6 x projects, only the workspace should get added to the list.
As Zini said, anything that the user opens will be guaranteed to be in the Recent Project list. Therefore the simplest solution might be to have a user-selectable option whereby the user can decide whether or not to add 'saved' items to the list.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version