Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.
This snippet has a mirror ($1) within a tab stop ($2):
{
title: 'Reverse Tab Test'
tab_trigger: 'tar'
scope: 'text.html'
content: '${1}=${2:$1}=1234567890
$0'
}
I changed my original snippet content for a simpler example. Mirrors in tab stops are useful to provide default values while still allowing the user to tab to it to modify its contents.
Reproducing the bug:
Scenario 1
Scenario 2
On another note, it seems that Intype will crash if I reload the bundles frequently…
Yep, both scenarios happen as you stated.
Ok, there’s a bug, but I think you will be not satissfied. When you modify parent input field ($2) the embedded reflection field (second $1) will be disabled. So moving back to $1 and modifying it once again will simply not modify the embedded $1. Fixed in 0.3.1.
Tested and verified working.
Its exactly the behaviour I would expect it to do. :) Good work martin!
1 to 4 of 4