Config files

CodeLite installation/troubleshooting forum
DSP_Programmer
CodeLite Veteran
Posts: 63
Joined: Mon Apr 06, 2009 10:43 am
Contact:

Config files

Post by DSP_Programmer »

Hi,

(Vista, Rev. 3036)

I have the same config files (e.g. accelerators.conf) under

C:\Program Files\CodeLite\config
and
C:\Users\xxx\AppData\Roaming\codelite\config\accelerators.conf

which one is used for CL?

How will this config file be merged when within a new build, new options are added? Do I have to do this by hand?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Config files

Post by eranif »

Since you got files under 'Application Data' I figure that you are using codelite from SVN. Since this change was never released ;)

The files under Application Data are not in used by codelite.

Tip:

On startup, codelite writes in the 'Trace' tab 2 entries:
One which says what is the installation directory (i.e. the path from which codelite exe exists)
and the second one, the startup directory - the one from which it takes the configuration files, plugins etc.

You should have both entries pointing to the same location C:\Program Files\CodeLite

Eran
Make sure you have read the HOW TO POST thread
DSP_Programmer
CodeLite Veteran
Posts: 63
Joined: Mon Apr 06, 2009 10:43 am
Contact:

Re: Config files

Post by DSP_Programmer »

eranif wrote:Since you got files under 'Application Data' I figure that you are using codelite from SVN. Since this change was never released ;)
That's right. I use the svn sources and build it my own because I have changed a very few things to fit my work needs.
eranif wrote: The files under Application Data are not in used by codelite.
I removed the comlplet codelite directory under AppData
eranif wrote: You should have both entries pointing to the same location C:\Program Files\CodeLite
They do.

I was trying to configure an abbreviation for "Search"->"Go To next 'Find in Files' match", but did not find a matching line within the keyboard shortcut dialog. So do I have to edit the config file manually and add these lines?
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Config files

Post by eranif »

They are there. If you can find them, add these lines manually:

Code: Select all

next_fif_match|Search|Go to Next 'Find In File' Match|F8
previous_fif_match|Search|Go to Previous 'Find In File' Match|Ctrl-F8
To your accelerator.conf or accelerator.conf.default
Eran
Make sure you have read the HOW TO POST thread
DSP_Programmer
CodeLite Veteran
Posts: 63
Joined: Mon Apr 06, 2009 10:43 am
Contact:

Re: Config files

Post by DSP_Programmer »

I copied all files from ../Runtime/config/* into the ../Codelite/config directory instead.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Config files

Post by eranif »

This will also work ;)

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