How to export settings?

General questions regarding the usage of CodeLite
10basetom
CodeLite Curious
Posts: 3
Joined: Thu Jun 02, 2016 4:04 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to export settings?

Post by 10basetom »

I'm installing CodeLite on another computer and would like to bring over all my settings. What is the best way to do this? I couldn't find an "export settings" command similar to Eclipse.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to export settings?

Post by eranif »

Unfortunately, there is no single button that will export all.
The colour theme, you can export from settings->colurs and fonts->export button
The other settings (folding, tabs vs spaces etc etc):
Copy the files: ~/.codelite/config/codelite.xml and ~/.codelite/config/codelite.conf to the new machine (in both cases, close CodeLite before doing this)


Eran
Make sure you have read the HOW TO POST thread
10basetom
CodeLite Curious
Posts: 3
Joined: Thu Jun 02, 2016 4:04 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to export settings?

Post by 10basetom »

Hi Eran, thanks for the info -- that's better than messing around with the registry like I've had to do with some programs :).
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to export settings?

Post by ColinTaylor »

Eran

[1] On Windows 10, the files "codelite.xml" and "codelite.conf" are in folder
  • C:\Users\<username>\AppData\Roaming\codeLite\config
is this the correct location from which to get these files?

[2] In the above location, there are several other config files (e.g. "keybindings.conf", "build_settings.xml"). In principle, is it also safe to copy these files over to the new PC?

Thanks, Colin
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to export settings?

Post by eranif »

ColinTaylor wrote:[1] On Windows 10, the files "codelite.xml" and "codelite.conf" are in folder
C:\Users\<username>\AppData\Roaming\codeLite\config
is this the correct location from which to get these files?
Yes. The correct path is

Code: Select all

%appdata%\CodeLite\config
ColinTaylor wrote:In the above location, there are several other config files (e.g. "keybindings.conf", "build_settings.xml"). In principle, is it also safe to copy these files over to the new PC?
yes and no.
Yes - keybindings.conf
No - build_settings.xml: this file contains absolute paths to the tool-chain which might not work on a different machine

Eran
Make sure you have read the HOW TO POST thread
Post Reply