[TxMt] Re: Snippet placeholder cursor location and text transformations

Allan Odgaard mailinglist at textmate.org
Tue Sep 24 19:49:01 UTC 2013


On 24 Sep 2013, at 21:17, Craig Hess wrote:

> […] I guess this would work if reworked the
> transformation to be on second $1, but wanted to know what the 
> consistent
> behavior is or will be.

What you’re seeing is a bug.

A simple fix though is to give the second $1 a default value, e.g. make 
it:

     label = "${1:foo}"

And then it will correctly place the caret at the label, i.e. the issue 
is with placeholders without any default text.


More information about the textmate mailing list