[ANNOUNCE] TODO parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For a long time I've wanted a tool that would traverse my source code to
find all those little forgotten "TODO" entries.
 
It should handle most all kinds (as you'll see if you look at the example
files). The only one I didn't bother with was:
 
$foo = 1; //Todo: [dv] I meant todo this later.
 
notice the 'todo' in there. it confuses my script. simple solution is just
spell it out as 'to do', which is proper English anyways!
 
I give you a fairly simple but useful tool that does just that. The output
can be command line (preferred way) or CSV so you can easily parse it into a
web page. I provided an example of how to do that. The web version of course
could be made much more interesting, with hyperlinks to the files, color,
etc, but I wanted to keep it simple for illustration purposes.
 
http://daevid.com/examples/todo/
 
Having said that, you should download it and try it for yourself.
 
./todo.php --path ./example --parse_tree
 
./todo.php --help for more options
 
It's all in a single todo.php file so it's easy to add to /usr/local/bin or
whatever. 
The tgz is really only for the examples.
 
ÐÆ5ÏÐ 
 
P.S. While you're there, I'll give a plug to my DHCP web tool. Perfect for
seeing who's on your LAN.
http://daevid.com/examples/dhcp/
 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux