Creating my own live template?

Is there any documentation anywhere that helps when creating my own live templates?

I'm specifically interested in how the variables for live templates work, they seem to call other functions, but I have no idea where those functions are defined, or how to write my own?

1 comment


there is no predefined variables in live templates (except for $END$), you assign them yourself and choose the corresponding expression (the expressions are predefined):Screen Shot 2012-01-25 at 11.36.09 .png

The best way to understand how the Live Templates work is to explore the built-in templates.
(Currently the only one way to add custom expressions is to write a plugin. Let us know if you need specific expressions, we will, probably, add them if they are generic).


Please sign in to leave a comment.