User forums > Using Code::Blocks
Versionize parts of codeblocks configuration
MortenMacFly:
--- Quote from: teto on April 19, 2015, 12:37:03 pm ---but seeing the colorschemes in default.conf while every editor out there put them in files under a "colorschemes" folder really surprised me.
--- End quote ---
Yes, it might not have been the best way to do it.
--- Quote from: teto on April 19, 2015, 12:37:03 pm ---or using several instances in parallel
--- End quote ---
Well you shouldn't do this with a common personality. In fact, the concept of personalities is there for this to work reliable.
You can run C::B with the personality parameter and thus, all settings will be in a file/folder for the specific personality. This will also avoid to overwrite parameters.
But hey - that's a problem all applications have that can run in parallel: The last app closed will dominate the settings. I don't see an easy way to avoid it because otherwise you've to consider conflicts (what if instance "A" change parameter "X" to "foo" and instance "B" to "bar"?). That's why you have to enable the options to allow instances in parallel, btw.. Again: To avoid that, use different personalities.
teto:
A first problem of saving at exit (even with a single instance) is when you crash (same for project settings): configuration is lost. Flushing configuration to disk once exiting hte settings dialog would solve that.
As for multiple instance, once you know how it works, you can deal around it. For the sake of the argument, I imagine you would need a client/server architecture that notifies changed settings for the multiple instance cases. I understand it is not worth the effort.
oBFusCATed:
--- Quote from: MortenMacFly on April 19, 2015, 01:15:30 pm ---You can run C::B with the personality parameter and thus, all settings will be in a file/folder for the specific personality. This will also avoid to overwrite parameters.
--- End quote ---
I don't think this is 100% correct. For sure the installed plugins are shared by different personalities.
The new option that allows one to use totally different config/user folder is the way to go if one needs 100% separated config files.
Navigation
[0] Message Index
[*] Previous page
Go to full version