<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I've attached a few simple commands I hacked up to practice my ruby.  There may be better ways to do these so any input is welcome.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>The first one "<FONT class="Apple-style-span" face="Lucida Grande">Show TODO - ignore list" </FONT>is pretty basic.  On the first line of the script it takes an array of patterns of files to ignore while parsing your project.  Its should be pretty easy to enter your list even if you don't know ruby, just follow the example.  Ideally I'd like to make it so you can set the list externally somehow to make it easy.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I wrote this because the TextMate.each_text_file was parsing everything in the project folder, regardless if I removed it from the project or not.  I have a "vendored" version of edge rails in one of my project folders, and seeing a list of all of DHH et al.s comments was hindering my use of the TODO.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The other two commands go together.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>"Project Statistics" displays the total word count, line count, and bytes on the tool tip for the entire project.</DIV><DIV>"Project Statistics - Full Output" displays the same information for each file in the project as well as the totals as html</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Both of these commands use each_text_file with an ignore list as well, so they suffer the same limitations and advantages.  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I wrote these cause I had to work on a horrible web system from the pre-standards days all day today and I wanted to see just how ugly it was.  I found out - they have more javascript for their drop down menus alone then the entire prototype library contains.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>William<SPAN></SPAN></DIV><DIV><SPAN></SPAN></DIV></BODY></HTML>=