Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Some thoughts on doing breakpoints persistent
oBFusCATed:
Two questions:
what will we do with a project opened in a workspace and outside a workspace or in two different workspaces?
Also what about the inactive projects in a workspace?
I'm more in favour of a .user directory next to the workspace file, if there is a workspace of course, else place it next to the project file.
MortenMacFly:
--- Quote from: oBFusCATed on December 15, 2012, 09:39:56 am ---I'm more in favour of a .user directory next to the workspace file
--- End quote ---
Why a directory? Isn't a descriptive file (maybe more) enough?
A general question: We have the project file where we can save stuff in it, right? So what we want to save here is something which is user-dependent and shall not be e.g. committed, right? What about using the concept of the project layout file, rename it to *.user.settings ("user" replaced with the actual user so you can have multiple in parallel) and extend it with the other stuff we want?
oBFusCATed:
I want to make it directory in order to make the project/workspace directory a bit more clear.
My idea is to move all useless to the user files there, like the layout, depend, bmarks, etc.
If we choose a single file we will have to redo all current code, which saves user files.
MortenMacFly:
--- Quote from: oBFusCATed on December 15, 2012, 10:13:02 am ---If we choose a single file we will have to redo all current code, which saves user files.
--- End quote ---
We don't have such code yet to my knowledge. My proposal was not to add new files, but to use/tweak what we have. And using ignore patterns for version control avoids the (already) visible clutter. In the end it would be a 1:1 relation between project files and files with meta-data. Having an API in place could also allow plugins to make use of it... How does that sound?
oBFusCATed:
--- Quote from: MortenMacFly on December 15, 2012, 11:38:22 am ---We don't have such code yet to my knowledge.
--- End quote ---
What about the code used to save .depend, .layout, .bmarks files?
All of them use different format. I was thinking of providing a function like GetUserFilePath(...) which returns a proper folder.
But I've not tried to implement it, yet, because of the workspace problem.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version