SnipWiz Class Templates

Discussion about CodeLite development process and patches
xthunderheartx
CodeLite Enthusiast
Posts: 10
Joined: Thu Feb 01, 2018 7:53 pm
Genuine User: Yes
IDE Question: c++
Contact:

SnipWiz Class Templates

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: SnipWiz Class Templates

Post 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
Make sure you have read the HOW TO POST thread
xthunderheartx
CodeLite Enthusiast
Posts: 10
Joined: Thu Feb 01, 2018 7:53 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: SnipWiz Class Templates

Post by xthunderheartx »

Righteous! Thx Eran.
Post Reply