+4
Is it possible to execute a command instead of inserting content for snippets?
Say I have text like YYYY-MM-DD and want to replace it with the value 2011-03-22. I don't want to do this via a key binding but rather via a tab trigger. The trigger would be YYYY-MM-DD and a TextCommand could return the proper content.
Is that possible?
Сервис поддержки клиентов работает на платформе UserEcho
I think the best way to achieve this is to allow something like this on a .sublime-completions file:
Is there any way to do it ?