[quote=“cutcopypaste”]That is pretty good… is there any way to make so I don’t need to hit tab to complete it? There isn’t, is there…
I know it’s potentially ‘bad habit forming’… but I want this for a passive insurance system, and I will continue to type the PHP. I nearly always do… but the one time you don’t and spend a long time debugging and being very confused makes me wish that could just get taken care of behind the scenes [/quote]
If you look in the default key-bindings then you will see that you could create a key-binding to insert a snippet, with the snippet itself defined as part of the key-binding. An example:
{ "keys": "\""], "command": "insert_snippet", "args": {"contents": "\"$0\""}, "context":
You could ignore (delete) the context part.
You *could *use the on_modified event so that it would happen automatically but I think this is way overkill!