User forums > Using Code::Blocks
Insertion of date/time stamp into editor
BCCISProf:
Is there any way of inserting the current date and time stamp in the editor?
Thank you.
David Perfors:
No, unless there is some hidden shortcut that I don't know....
sethjackson:
No I don't think there is. If you use SVN you can do this though......
--- Code: (cpp) ---/*
* $Date$
* $Revision$
* $Author$
* $HeadURL$
*/
--- End code ---
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.keywords
mandrav:
Check tomorrow's nightly (I don't think this can make it in tonight's) ;).
Here are the newly added editor abbreviations:
tday = 20060928
tdayu = 20060928
today = 2006-09-28
todayu = 2006-09-28
now = 2006-09-28-20.48
nowl = 2006-09-28-20.48.58
nowu = 2006-09-28-17.48
nowlu = 2006-09-28-17.48.58
wdu = Thursday
(these with the 'u' suffix, refer to UTC times).
To use any of them just type the abbreviation (e.g. "nowl") in the editor and press Ctrl-J.
BCCISProf:
Wow! Thats what I call service. Thanks so much!
If you have a moment, can you take a look at the questions in my previous post
http://forums.codeblocks.org/index.php?topic=4058.0
Thanks
Navigation
[0] Message Index
[#] Next page
Go to full version