[Geany] Date (or other variable) in snippets?

Micael m8847 at xxxxx
Fri Jul 11 11:44:44 UTC 2008


Something that I have used extensible in my windows favorite editor MultiEdit, 
is a snippet kind of functionality, that allows me to write "func" (or up to 
the full word "function") to build a function comment. Typical, I like it to 
build something like this;

 /*-----------------2005-05-31 13:22-----------------
 * Function:    spi_setup()
 * Description: Initialization of the spi interface
 *              prior to making use of any resource.
 *              Normally called from startup code.
 * Author:      MBe
 * Arguments:   -
 * Returns:     -
 *------------------------------------------------*/



As a snippet could do this, I am relieved and excited. But can I put the 
(current) date in the snippet? How would I do this?


Thanks, 

 Micael



More information about the Users mailing list