I wantto change CL 's configfile 's save-path

Discussion about CodeLite development process and patches
lyricc
CodeLite Curious
Posts: 6
Joined: Tue Sep 21, 2010 10:39 pm
Genuine User: Yes
IDE Question: all
Contact:

I wantto change CL 's configfile 's save-path

Post by lyricc »

I must Say that CL is a greate ide,cl is getting better and better . I'm very like it.Once it's portable .Now it put it's config-file into path:%app%/codelite on Win .
Now I have compiled CL successfuly.But I dont known wxWidget.I just want to change the way that CL save it's config-files.
So on Windows ,where should be changed in CL source code?
----------------------------------------------------------------------------
Thanks!
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: I wantto change CL 's configfile 's save-path

Post by eranif »

Sorry for the late response, however there is no single place to change since codelite has multiple configuration files (codelite.xml , accelerators, build_settings.xml and others)
Also, there is no wrapper class to manage the configuration. codelite uses the standard wxWidgets API (wxStandardPaths::Get().GetUserDataDir()) in various places in the code to get the configuration place.

Bottom line: it can be done, but you need to invest some time for how to make it work properly

Eran
Make sure you have read the HOW TO POST thread
lyricc
CodeLite Curious
Posts: 6
Joined: Tue Sep 21, 2010 10:39 pm
Genuine User: Yes
IDE Question: all
Contact:

Re: I wantto change CL 's configfile 's save-path

Post by lyricc »

Thanks ,Eran!
I think i should spend some time to solve it.
Post Reply