Hej, just discovered this marvelous project!
Hooking in this discussion. From my old editor PSPAD I'm used to have variables with it in an intelligent way. Typing gives me (| = cursor):
strpos(|string haystack, string needle, [int offset])
I tried doing it with key-bindings and snippets like this (not exactly understanding the context tag below made me just commenting it..):
<binding key="s,t,r,p,o,s,tab" command="insertSnippet 'Packages/PHP/strpos(-).sublime-snippet'">
<!--<context name="selector" value="text.html - meta.tag - source, punctuation.definition.tag.begin, meta.scope.between-tag-pair.html"/>-->
That works. But has some drawbacks; 1) it doesn't show a drop-down, it only works by typing the whole function name out exactly, without typo's and 2) I would have to create a lot of snippets and key-bindings this way, it would be nice to automate most of this.
Is there anything like this already? Or something pointing in the right direction?