Accelerator key for date stamp
Here's an open question. I am working on a lot of mssql files and I like to have a date stamp on each one. This means that I can know just by looking at the source of the stored procedure, whether it is up to date or not.
I would like to have a shortcut autocomplete key that if I type say, d-tab-tab, I get the current date printed in the file. And yes, I'm so lazy. :)
So the question is:
- Is there a way to get around this problem completely?
- If not, how would you suggest solving it?
Smart ideas are welcome.
0
source to share
3 answers
How about using version control for your files and including automatic keyword expansion.
Using the CVS Keyword Extension , you can put $Date: $
in a file and it will be replaced with the date of the last check. There is no need for typing or updating, this is "auto magic".
0
source to share