I want to export all configs I have changed on codelite, including but not limited to:
(1) colors and fonts
(2) keyboard shortcuts
(3) all plugin's setting
After I export all configs, I want to get a .tar file. Then I give the .tar file to other members in my team, and then they can import the file into there codelite.
So configs shared among everyone using codelite.
I found a 'config' dir in ~/.codelite/, but there is nothing about plugins detail setting.
best regards
How to copy out all configs I have changed?
-
- CodeLite Curious
- Posts: 8
- Joined: Thu May 15, 2014 9:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to copy out all configs I have changed?
Just send the filesguang11cheng wrote:(1) colors and fonts
Code: Select all
%APPDATA%\CodeLite\lexers
All keyboards are logged into the fileguang11cheng wrote:(2) keyboard shortcuts
Code: Select all
%APPDATA%\CodeLite\accelerators.conf
This one is a bit tricky, since each plugin saves its info in a different location.guang11cheng wrote:(3) all plugin's setting
But mostly plugins will save their data in 2 possible locations:
Under the workspace folder:
Code: Select all
WORKSAPCE/.codelite/
Code: Select all
%APPDATA%\CodeLite
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 8
- Joined: Thu May 15, 2014 9:29 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to copy out all configs I have changed?
Thank you, Eranif!
I found most conf file is placed at dir ~/.codelite/config/, list below:
-rw-rw-r-- 1 huanggc huanggc 1979 May 23 19:21 abbreviations.conf
-rw-rw-r-- 1 huanggc huanggc 9000 May 22 10:22 accelerators.conf
-rw-rw-r-- 1 huanggc huanggc 41 May 20 18:41 cmake.ini
-rw-rw-r-- 1 huanggc huanggc 3619 May 26 10:13 code-completion.conf
-rw-rw-r-- 1 huanggc huanggc 7145 May 26 10:13 codelite.conf
-rw-r--r-- 1 huanggc huanggc 15759 May 26 10:13 codelite.xml
-rw-rw-r-- 1 huanggc huanggc 1299 May 26 10:13 debuggers.xml
-rw-rw-r-- 1 huanggc huanggc 3 May 15 10:59 debugger-view.conf
-rw-rw-r-- 1 huanggc huanggc 3018 May 15 10:59 debug.layout
-rw-rw-r-- 1 huanggc huanggc 2801 May 26 10:13 default.layout
-rw-rw-r-- 1 huanggc huanggc 327 May 26 10:13 environment_variables.xml
-rw-rw-r-- 1 huanggc huanggc 679 May 26 10:13 git.conf
-rw-rw-r-- 1 huanggc huanggc 3721 May 26 10:13 plugins.conf
-rw-rw-r-- 1 huanggc huanggc 115 May 23 19:21 sessions.xml
-rw-rw-r-- 1 huanggc huanggc 3 May 26 10:13 sftp-settings.conf
-rw-rw-r-- 1 huanggc huanggc 187 May 23 19:21 wxcrafter.conf
-rw-rw-r-- 1 huanggc huanggc 103 May 26 10:13 zoom-navigator.conf
so you can see the code formatter conf is not here.
and files in the dir /usr/share/codelite/config/ list below:
-rw-r--r-- 1 root root 7867 Jan 12 14:53 accelerators.conf.default
-rw-r--r-- 1 root root 21573 Jan 12 14:53 build_settings.xml.default
-rw-r--r-- 1 root root 1030 Jan 12 14:53 codelite.xml.default
-rw-r--r-- 1 root root 1248 Jan 12 14:53 debuggers.xml.default
you can see they are 'default' conf, not customized and modified by myself.
I suggest place all conf files at ~/.codelite/config/ and supply a tool menu to export all conf files out and import all conf files in.
I found most conf file is placed at dir ~/.codelite/config/, list below:
-rw-rw-r-- 1 huanggc huanggc 1979 May 23 19:21 abbreviations.conf
-rw-rw-r-- 1 huanggc huanggc 9000 May 22 10:22 accelerators.conf
-rw-rw-r-- 1 huanggc huanggc 41 May 20 18:41 cmake.ini
-rw-rw-r-- 1 huanggc huanggc 3619 May 26 10:13 code-completion.conf
-rw-rw-r-- 1 huanggc huanggc 7145 May 26 10:13 codelite.conf
-rw-r--r-- 1 huanggc huanggc 15759 May 26 10:13 codelite.xml
-rw-rw-r-- 1 huanggc huanggc 1299 May 26 10:13 debuggers.xml
-rw-rw-r-- 1 huanggc huanggc 3 May 15 10:59 debugger-view.conf
-rw-rw-r-- 1 huanggc huanggc 3018 May 15 10:59 debug.layout
-rw-rw-r-- 1 huanggc huanggc 2801 May 26 10:13 default.layout
-rw-rw-r-- 1 huanggc huanggc 327 May 26 10:13 environment_variables.xml
-rw-rw-r-- 1 huanggc huanggc 679 May 26 10:13 git.conf
-rw-rw-r-- 1 huanggc huanggc 3721 May 26 10:13 plugins.conf
-rw-rw-r-- 1 huanggc huanggc 115 May 23 19:21 sessions.xml
-rw-rw-r-- 1 huanggc huanggc 3 May 26 10:13 sftp-settings.conf
-rw-rw-r-- 1 huanggc huanggc 187 May 23 19:21 wxcrafter.conf
-rw-rw-r-- 1 huanggc huanggc 103 May 26 10:13 zoom-navigator.conf
so you can see the code formatter conf is not here.
and files in the dir /usr/share/codelite/config/ list below:
-rw-r--r-- 1 root root 7867 Jan 12 14:53 accelerators.conf.default
-rw-r--r-- 1 root root 21573 Jan 12 14:53 build_settings.xml.default
-rw-r--r-- 1 root root 1030 Jan 12 14:53 codelite.xml.default
-rw-r--r-- 1 root root 1248 Jan 12 14:53 debuggers.xml.default
you can see they are 'default' conf, not customized and modified by myself.
I suggest place all conf files at ~/.codelite/config/ and supply a tool menu to export all conf files out and import all conf files in.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How to copy out all configs I have changed?
Some plugins also have settings per workspace - these settings are kept under the workspace folder /path/to/workspace/.codelite/
and some plugins are using the a custom configurations ( I think that the Snippets plugin does that)
So its a start, but not a complete one
Eran
and some plugins are using the a custom configurations ( I think that the Snippets plugin does that)
So its a start, but not a complete one
Eran
Make sure you have read the HOW TO POST thread