Auto TODO-LIST

F

Felipe Navas

There is any script that run through the code and make a Todo list ?
Rdoc can do this ?
 
P

Phrogz

Felipe said:
There is any script that run through the code and make a Todo list ?
Rdoc can do this ?

How about something simple like:
irb(main):001:0> Dir.glob( '**/*.rb' ).each{ |file|
irb(main):002:1* puts IO.read(file).scan( /\bTODO\b.+/i )
irb(main):003:1> }
TODO: handle save troubles
TODO: handle save troubles
TODO: check for save failure
TODO: Authorize as admin
TODO: Authorize as admin
ToDo - document options
ToDo: deal with columns that are methods and not actual columns

Also, TextMate (a text editor on Mac OS X with some very nice Ruby
support) has a bundle command that does this for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top