Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.
Can anyone test the following snippet and confirm that it is a bug?
{
title: 'Headings'
tab_trigger: 'he'
scope: 'text.html'
content: '<h${1:1}${2:${3: id="${4:example}"}${5: class="${6:test}"}}>${SELECTED_TEXT}$7</h$1>
$0'
}
Steps to reproduce:
1. Type “he” and press Tab.
2. Press Tab once to select the second tab stop block.
3. Press Backspace to remove it.
4. Press Tab again to move to tab stop 7.
Now step 4 does not happen as expected. Instead, the final “less than”/angle bracket was selected followed by spaces and the newline below it.
The snippet works perfectly in other situations where you remove any of the inner tab stops, ie, backspacing on the third tab stop, fourth tab stop and so on.
This this is what hilights for me.
tstrokes: This this is what hilights for me.
Yeah, I forgot to mention the spaces behind the angle bracket. Edited my post above to reflect it.
Yeah, it’s a bug… It’s caused by deleting the nested placeholders.
Thanks martin. I wasn’t sure about the maximum nesting depth that is allowed on tab stops.
Ok, bug found and squashed, thanx for the report.
1 to 6 of 6