Thanks, i set :

[Javascript]
_def=param = (typeof  param == 'undefined') ? value : param;

But i don't understand how use variables (it's not in the manual : http://www.geany.org/manual/current/index.html#user-definable-snippets).

Can you help me ?

2009/8/29 Dominic Hopf <dmaphy@googlemail.com>
Am Samstag, den 29.08.2009, 15:36 +0200 schrieb Dorian M.:
> Hello, i search how create plugin for write :
>         _def(param, value) and press [Tab]
> transform to :
>         param = (typeof  param == 'undefined') ? value : param;
>
>  Thanks for yout help.

You do not have to write a plugin for that, just edit your snippets.conf
accordingly. See the manual for details on how the snippets.conf does
work.

Regards,
Dominic

--
Dominic Hopf <dmaphy@gmail.com>

http://dominichopf.de/

Key Fingerprint:
A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D

_______________________________________________
Geany mailing list
Geany@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany