# Auto TODO-LIST

**URL:** <https://www.ruby-forum.com/t/auto-todo-list/80684>\
**Category:** Ruby\
**Created:** [December 29, 2006, 11:10pm UTC](https://www.ruby-forum.com/t/auto-todo-list/80684 "2006-12-29T23:10:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felipe\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/439d5e/32.png) [@Felipe\_N](https://www.ruby-forum.com/u/Felipe_N)\
**Post date:** [December 29, 2006, 11:10pm UTC](https://www.ruby-forum.com/t/auto-todo-list/80684/1 "2006-12-29T23:10:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Felipe\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/439d5e/32.png) [@Felipe\_N](https://www.ruby-forum.com/u/Felipe_N)\
**Post date:** [December 29, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/auto-todo-list/80684/2 "2006-12-29T23:36:13Z")

</div>

Felipe N. wrote:

> 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.

---

<div class="post-metadata">

**Author:** ![Felipe\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/439d5e/32.png) [@Felipe\_N](https://www.ruby-forum.com/u/Felipe_N)\
**Post date:** [December 30, 2006, 2:05pm UTC](https://www.ruby-forum.com/t/auto-todo-list/80684/3 "2006-12-30T14:05:50Z")

</div>

> > > sender: “Felipe N.” date: “Sat, Dec 30, 2006 at 07:09:41AM +0900” \<\<\<EOQ  
> > > There is any script that run through the code and make a Todo list ?  
> > > Rdoc can do this ?  
> > > If by any chance you’re using vim, this tip does exactly that:  
> > > [tips : vim online](http://vim.sourceforge.net/tips/tip.php?tip_id=1431)

Cheers,  
Alex
