Thursday, April 6, 2006

Textpander for autocomments in sourcecode

More Textpander stuff... I've started using it to comment my PHP code.

I've assigned the text phpcomm to automatically insert the following text.


/* Scarr - Thu Apr 6 11:41:38 2006
//
//
//
*/


Nice! Not that commenting is so hard, but this speeds up putting in time-stamps and other helpful attributes, like for example my "short" name. If I wanted to get fancy, I could do this in a format that would allow me to create actual parseable documentation within the code. That'd be cool.

I have added something similar for perlcomm, which should also work for bash comments.

Technorati Tags: , , , , , ,

No comments:

Post a Comment