Hey guys. I have, maybe a stupid question. Do you know if in Sublime text it is possible to create a snippet with a tab trigger + a variable which will pass in to the actual snippet?
Something like this:
Snippet:
Hello, ${1:} is a snippet.
]]>
hello ${1:}
And when I will type hello foo, the snippet will output
Hello, foo is a snippet.
Without me to have to type anything in the code the snippet will output.
I just want to have something like tab trigger + var = the code snippet and were it has ${1:} it will be replace automatically with the var in the trigger?
I know it sounds stupid. I’m just wondering. Thanks a loot.