Home Download Buy Blog Forum Support

Inserting dynamic information, e.g. a year in snippets

Inserting dynamic information, e.g. a year in snippets

Postby simonwheatley on Wed Aug 01, 2012 4:38 pm

I had a snippet in Textmate, which inserted the current year with:
Code: Select all
${2:`date "+%Y"`}
Is something similar possible in Sublime Text, please? I've seen various multiline commands, etc, but they lack the simplicity of my TM solution so I'm hoping for something else… :)
simonwheatley
 
Posts: 12
Joined: Wed Aug 01, 2012 4:34 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 25 guests