I have looked around the unofficial documentation (http://docs.sublimetext.info/en/latest/extensibility/snippets.html) and the forums for a solution to this, have found nothing.
As an Advanced Placement Computer Science student (Java), I often type dates (dd.Mon.yyyy) for JavaDoc purposes (course requirement).
I have made (or adjusted) every other snippet I could possibly need right now, except this one.
Ideally, the snippet would work similarly to the class snippet. This snippet uses a TM variable:
${1:${TM_FILENAME/(.*?)(\..+)/$1/}}
to fill the class name.
In the unofficial documentation,
.sublime-options
files are referred to, but I could not find any or know where to place one (and if I could or did, I would probably not know how to set a variable to the current date/time).
Any suggestions for a (or directions to an already existing) solution will be greatly appreciated.
- Alex Ordonez
EDIT: Changed title to specify ST2.