Home Download Buy Blog Forum Support

Snippet for my file like that

Snippet for my file like that

Postby agonist on Sat Oct 27, 2012 4:41 pm

Hi everyone, I'm new on sublime text, I need to include a specific header on all my file like that :

** myfile.c for myfile in /home/agonist/path/myfile
** Made by MY NAME
** Login <EMAIL>
** Started on Tue Oct 23 02:51:34 2012 MY NAME
** Last update Tue Oct 23 02:52:35 2012 MY NAME

so it's ok for the name with extension but not without
ok for the path
ok for my name and my mail...
BUT I don't know how insert the date, the first date is the current date when you insert the header and the second date is update when you save your file. It's possible to set this two date ?

Posts: 1
Joined: Sat Oct 27, 2012 4:34 pm

Re: Snippet for my file like that

Postby AGS on Sat Oct 27, 2012 5:26 pm

I think it would not be that difficult to use something like SMART-Snippets to write a snippet to insert dates.
Posts: 32
Joined: Mon Aug 20, 2012 5:58 pm

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 9 guests