Sublime Forum

Useless tab triggers

#1

Hello guys. As I said few days ago, I started to move on ST2.
I looking around for a while and I didn’t found this problem. Let’s say i have this snippet template:

<select name="${1:select]}"${2: ${3:id}${4:class}="$5"}>$0</select>

Which give me the following behaviour: screencast.com/t/UKIygjNgwV

The thing is: id/class attribute is kind of optional. If i hit delete key when $3 is selected (idclass="") then i press TAB key, i have to press TAB for 3 times (tabs that where suposed to be there).

I’m doing it wrong?

Thanks!

0 Likes

Dev Build 2074