Page 1 of 1

SnipWiz Class Templates

Posted: Mon Feb 19, 2018 5:48 pm
by xthunderheartx
Eran et. al.,

Can anyone tell me how SnipWiz Class Templates are stored? After creating one (foo) I expected to find it stored in the workspace or possiblly the top-level .codelite directory as "foo.tmpl" or something similar. Couldn't find it though.

I'd like to be able to move SnipWiz customizations from one environment to another. With project templates it's easy. Just tar/move/untar. Can I do similar with Class tempates and other snippets?

Thx - Dallas

Re: SnipWiz Class Templates

Posted: Mon Feb 19, 2018 6:13 pm
by eranif
This plugin was contributed by a third party to CodeLite, so it does not follow the standard of other plugins ...

It's settings are kept in a file named: SnipWiz.tmpl, runnign "locate" on my machine gives this:

Code: Select all

$locate SnipWiz.tmpl
/home/eran/.codelite/templates/SnipWiz.tmpl
So I assume you can find your file under the same path (replacing /home/eran with your home folder)
This is a binary file holding all your settings, so just copy it to the other machine

Eran

Re: SnipWiz Class Templates

Posted: Tue Feb 20, 2018 7:11 am
by xthunderheartx
Righteous! Thx Eran.