News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

importing settings from older versions of codeblocks

Started by laserbeak43, January 20, 2008, 02:26:20 PM

Previous topic - Next topic

laserbeak43


MortenMacFly

Quote from: laserbeak43 on January 20, 2008, 02:26:20 PM
hi can i import settings of older nightly builds?
There is not really an import - you can just try to use the old settings file. Worst thing that can happen is that you have parts that will never be used in the config and/or your layout maybe broken (until you delete the current layout). In addition there is also a tool called cb_share_config (part of the SVN sources) that would allow you to transfer settings of an (old) config file to another. But only the most important parts not each and every possible feature.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

laserbeak43


laserbeak43

is it the config.script in share\CodeBlocks\templates\wizard\lf\files\common\buildscripts?

Jenna

Quote from: laserbeak43 on January 26, 2008, 05:09:12 PM
is it the config.script in share\CodeBlocks\templates\wizard\lf\files\common\buildscripts?
No it's "default.conf" in "~/.codeblocks" on Linux and c:\"Document and Settings\<username>\Application Data\codeblocks" on Windows.
Path for Windows might not be exactly the same (I only have a german system not an english one).

laserbeak43

hmm... thanks, seems that it must have already been updated since i downloaded and executed a nightly build before i even posted this?
i guess i could always just open up an instance of each version and copy and paste my wanted settingS?

stahta01

Quote from: laserbeak43 on January 26, 2008, 05:31:23 PM
hmm... thanks, seems that it must have already been updated since i downloaded and executed a nightly build before i even posted this?
i guess i could always just open up an instance of each version and copy and paste my wanted settingS?

Cut and Paste is Very Strongly discouraged of configuration settings; can cause had to diagnose problems.
No, if it does not work don't blame us; or ask for help on fixing the settings. Or on fixing any other C::B problem you have till you delete the configuration and use a standard method to update them.

Note: I am not an member of the Code::Blocks Team, but at least one other Code::Blocks forum member agrees with the above.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

laserbeak43

erm, ok, not a problem. what did i say wrong to get such a reaction? I LOVE CODE::BLOCKS

-edit-
reason i asked is cause i can't find info on how to find the svn.

stahta01

#8
Quote from: laserbeak43 on January 26, 2008, 07:14:10 PM
erm, ok, not a problem. what did i say wrong to get such a reaction? I LOVE CODE::BLOCKS

Many 1000's hours of developer time has been wasted when the cause was found to be the user cut and pasted settings in a configuration file. This is on all open source projects not just Code::Blocks.

Quote from: laserbeak43 on January 26, 2008, 07:14:10 PM
reason i asked is cause i can't find info on how to find the svn.

http://www.codeblocks.org/source_code.shtml

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]