Sublime Forum

How to determine conflicting tab triggers in ST2 & ST3

#1

Hi There,

I’ve created some snippets for use with php/html templates that use shortags and the alternative control syntax but the tab triggers sometimes require a couple of goes before they’ll work.

The snippets:

  • Are saved in /Packages/User/php/name.sublime-snippet

  • Have no scoped defined (using text.php or source.php causes them not fire at all)

  • Have tab triggers like ?, ?=, ?if, ?ife, ?fe

Here’s an example of one:

[code]
<![CDATA[

<? ${1:...} ?>

]]>

?

[/code]

Is there a way to determine if my triggers are conflicting with other triggers?
In particular, the tab triggers ‘?’ and ‘?=’ often require several goes - this is the same in ST2 and ST3.

Any pointers would be much appreciated.

Cheers

Ben

0 Likes