Page 1 of 1

Config files

Posted: Fri Sep 25, 2009 3:31 pm
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?

Re: Config files

Posted: Fri Sep 25, 2009 3:39 pm
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

Re: Config files

Posted: Fri Sep 25, 2009 3:58 pm
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?

Re: Config files

Posted: Fri Sep 25, 2009 4:46 pm
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

Re: Config files

Posted: Fri Sep 25, 2009 4:54 pm
by DSP_Programmer
I copied all files from ../Runtime/config/* into the ../Codelite/config directory instead.

Re: Config files

Posted: Fri Sep 25, 2009 5:12 pm
by eranif
This will also work ;)

Eran