Is there a way put a timestamp in the file header automatically when saving in Eclipse?
- by George
I am a PHP developer using Eclipse PDT. I would like a timestamp put automatically in my file headers whenever I save the file. Maybe as a replacement of a variable. Let's say I use this header in a file:
/**
* ${filename}
* ${timestamp}
*/
When I save the file I would this to be replaced with:
/**
* Myfile.php
* 4/20/2010 19:04
*/
It would also be ok if there is a macro that would add a line at the very beginning of the file just containing a timestamp.
Anybody with an idea?
Regards,
George