Code::Blocks
July 29, 2010, 06:07:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New release 10.05 is ready. Grab it while it's hot!!!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: Insertion of date/time stamp into editor  (Read 1181 times)
BCCISProf
Advanced newcomer
*
Posts: 58


WWW
« on: September 28, 2006, 06:47:49 pm »

Is there any way of inserting the current date and time stamp in the editor?

Thank you.
Logged
David Perfors
Developer
Lives here!
*****
Posts: 560


« Reply #1 on: September 28, 2006, 07:29:32 pm »

No, unless there is some hidden shortcut that I don't know....
Logged

OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN
WX: 2.8.4
Wish list: faster code completion, easier debugging, refactoring
sethjackson
Guest
« Reply #2 on: September 28, 2006, 07:32:28 pm »

No I don't think there is. If you use SVN you can do this though......

Code: (cpp)
/*
 * $Date$
 * $Revision$
 * $Author$
 * $HeadURL$
 */

http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.keywords
« Last Edit: September 28, 2006, 07:38:06 pm by sethjackson » Logged
mandrav
Project Leader
Administrator
Lives here!
*****
Posts: 4253



WWW
« Reply #3 on: September 28, 2006, 07:52:29 pm »

Check tomorrow's nightly (I don't think this can make it in tonight's) Wink.
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.
Logged

Be patient!
This bug will be fixed soon...
BCCISProf
Advanced newcomer
*
Posts: 58


WWW
« Reply #4 on: September 28, 2006, 08:52:48 pm »

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
Logged
jpaterso
Advanced newcomer
*
Posts: 57


« Reply #5 on: September 29, 2006, 03:12:32 am »

Ah wonderful!!
I asked for this a while ago, and now it is here  Very Happy

Thanks very much, C::B team!

Joe.
Logged
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!