Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: const451 on May 30, 2011, 03:34:42 am
-
Hello,
I am using some custom editor settings such as colors, and custom shortcuts, what is the file that codeblocks keeps those settings in?
I'd like to save that file so I can easily restore those settings next time I reinstall Ubuntu.
THX!
-
I'd like to save that file so I can easily restore those settings next time I reinstall Ubuntu.
Watch out for a file named default.conf, usually located in your HOME directory in the sub-folder .codeblocks.
Notice you can use cb_share_config tool to save / transfer some settings (not all).
-
Thank you for the reply.
In the folder I found cbKeyBinder10.ini which was correctly last modified today, it contains my shortcuts.
Unfortunately, default.conf was modified on May 15, that's when I installed codeblocks. I am afraid it does not contain my color settings.
I did search on all files that were modified on 2011-05-30 but I got 10K+ files, I do not think I can find the right one among them.
Is there any other config file that codeblocks uses to save color settings? I made the changes directly to default scheme.
Thanks again!
-
Is there any other config file that codeblocks uses to save color settings? I made the changes directly to default scheme.
No. However, if you installed a portable version it might also be in the application folder. Hence it will always be called "default.conf" which you can search for.
-
That was correct default.config. The file was updated only after I closed codeblocks. Weird. I would expect the changes to be populated as soon as I click Ok on config editor dialog box.
Anyways, thank you for your help!
-
I would expect the changes to be populated as soon as I click Ok on config editor dialog box.
The settings are persisted when you close C::B. During run-time (for speed-up) they are buffered in memory, so all read/write operations are in memory only, until you close C::B.
Although this may be debatable, it has been like that for a long time.