I got a new machine , and wants to immigrate all the settings of cb to the new machine.
I found I had to find the user templates in appdata/...../codeblocks/... to copy them by hand.
Is there any tools to immigrate all user setting (include user templates and syn highlights , fond , color etc) ?
Yes, no idea if it will work for different type OSes.
Lookup the cb tool called cb_share_config.exe on windows.
Edit: It is a stand alone tool to be used without CB running when using it.
NOTE: Backup the codeblocks config file before trying to use the tool.
It works in a weird manner the one time I tried to use it.
Edit2: It does NOT move templates to my knowledge.
Edit3: I would likely just copy the CB default config file if I wished to move all of it.
Tim S.
I would copy the whole "%APPDATA%\CodeBlocks"-folder to get all templates and other stuf.
This folder will otherwise be created from scratch on first run of C::B.
You might have to fix the toolchains afterwards, or leave out the "[personality].conf" file(s) and migrate them using "cb_share_config(.exe)" .
Is it possible to make a tool to pack and unpack all user data ( including syntanx highlight , font AND user template )?
No reason to waste time on doing it. There are already plenty of tools already available that will do a better job (explorer, zip, rar, 7zip, copy, etc). Just copy %APPDATA%\Codeblocks and you'll have everything you need. CB doesn't store users setting anywhere else.
Quote from: oBFusCATed on March 09, 2015, 12:54:37 AM
No reason to waste time on doing it. There are already plenty of tools already available that will do a better job (explorer, zip, rar, 7zip, copy, etc). Just copy %APPDATA%\Codeblocks and you'll have everything you need. CB doesn't store users setting anywhere else.
? we call this self-contained.
Patches welcome, then ::)