For example, when I implement
- Code: Select all
lm(formula, data, subset)
as a snippets, the content would look like this
- Code: Select all
<content><![CDATA[lm(${1:formula}, ${2:data}) , ${3:subset})]]></content>
But data and subset are optional options (only formula is required). What is the best way to handle this situation with snippets. Is there a way to indicate that parts are optional so that they are not inserted by default but only come up for autocompletion within the function?
Thanks!
http://readthedocs.org/docs/sublime-tex ... ht=snippet]