Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.
I have the following snippet for C# bundle:
{
content: '${1:public} ${2:void} ${3:MethodName} (${4:${5:int} ${6:value}})
{
${0:// code...}
}'
title: 'method ..'
scope: 'source.csharp'
tab_trigger: 'method'
}
So I press Tab six times and at next time i expect that Intype will select “// code…”, but cursor appears in the end of “// code…”
Did you just want to select “// code”?
Yes. I know I just can change 0 to 7, but there are other snippets where is used 0 tab-index for selecting text. For example php_class.itSnippet.
Right. Added to my list as possible bug.
$0 is intended only for setting the caret position. This where we might be incompatible with TM’s format. It’s better to change it to $7.
1 to 5 of 5