Home Download Buy Blog Forum Support

Overlapping Tab Stops on Snippets

Overlapping Tab Stops on Snippets

Postby vim on Sun Oct 12, 2008 8:54 am

There is a glitch on sublime behavior on overlapping tab stops, for example, see a 'new function' snippet for Erlang:
Code: Select all
    <content><![CDATA[${1:function} (${2:param})${3: when ${4:guard}} ->

look at $3 overlapping $4, when user get to tab stop $3 he has the opportunity to delete the whole clause (i.e. $3 which includes $4), but when trying to jump to the next tab stop, sublime doesn't do anything (because $4 is missing), the desired behavior is to jump to $5 (next bigger tab stop value)
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Overlapping Tab Stops on Snippets

Postby jps on Mon Oct 13, 2008 9:42 pm

This is a consequence of Sublime's internal representation of snippets - it's a known issue, but not one that has an easy fix, unfortunately.
Site Admin
Posts: 3217
Joined: Wed Mar 19, 2008 12:33 pm

Return to Technical Support

Who is online

Users browsing this forum: RicardoMay and 14 guests