+2

Fuzzy search snippet tab triggers

Jake Wilson 11 jaar geleden 0

Example: Let's say I have a snippet with a tab trigger named this:


left triangle black


This snippet creates a Left-facing, Black Triangle HTML entity for me.  The problem with snippet tab triggers is that the user has to type in the name EXACTLY as the tab trigger defines it.  For the above example, the user has to type exactly the letters:


l e f t <space> t r i..... etc


It would be nice if ST supported fuzzy searches of tab triggers, so for the above example, the user could simply type 'triangle', and it would show the above snippet along with all other snippets with the word triangle in it.  Or maybe they type "black"  to see all snippets with the word "black" in it.


Catch my drift?  Would this be helpful to anyone else?