Recently upgraded CodeLite to v3.0.50.41 only to discover that all my plugin settings is removed (i.e. my SnipWiz templates and more)
This is very annoying that this happens EVERY TIME i upgrade CodeLite and I manually have to enter the settings again.
Plugin settings is deleted everytime i upgrade CodeLite
-
- CodeLite Curious
- Posts: 1
- Joined: Wed Aug 31, 2011 2:59 pm
- 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: Plugin settings is deleted everytime i upgrade CodeLite
I am not sure of how SnipWiz plugin works since I am not the one who wrote it. You will have to ask Frank (forum name: frank_frl) or look at the source code to see how it works, in general all the settings should not be deleted by codelite (and I am pretty sure that this is the case), although I don't use SnipWiz and I can't answer that
If it happens every time, you should have reported it earlier ...
Eran
If it happens every time, you should have reported it earlier ...
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 176
- Joined: Sun Aug 17, 2008 2:45 pm
- Contact:
Re: Plugin settings is deleted everytime i upgrade CodeLite
Hi James,
the SnipWiz plugin stores his settings in the \CodeLite\templates folder as 'SnipWiz.tmpl' (historical reasons), so if there is a version in the installer, it might be overwritten. ( I build CL myself from SVN, so I never had this problem)
There are two solutions:
Eran could change the installer, so that it will not be installed if it exists, or we change the path where it is stored.
Regards
Frank
the SnipWiz plugin stores his settings in the \CodeLite\templates folder as 'SnipWiz.tmpl' (historical reasons), so if there is a version in the installer, it might be overwritten. ( I build CL myself from SVN, so I never had this problem)
There are two solutions:
Eran could change the installer, so that it will not be installed if it exists, or we change the path where it is stored.
Regards
Frank
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Plugin settings is deleted everytime i upgrade CodeLite
Frank, thanks for the explanation. I think that I might be better moving the .tmpl file to the %appdata%\codelite / ~./codelite/ directory so it won't be overwritten. I look into itfrank_frl wrote:the SnipWiz plugin stores his settings in the \CodeLite\templates folder as 'SnipWiz.tmpl' (historical reasons), so if there is a version in the installer, it might be overwritten. ( I build CL myself from SVN, so I never had this problem)
Eran
Make sure you have read the HOW TO POST thread