D'oh, I knew I should have put a "please don't refer me to the Eclipse Task 
view" in my post. :P

The Task list isn't flexible enough for what I'm doing.
(Which is building an interface for managing a project with, which will be 
scanning all the files and doing other stuff as well as listing TODOs)


Anyway, I've got a script which works. Not as pretty as I'd like, but it'll do 
unless anyone can come up with anything better.

<cfset Matches = REReplace(Contents, "<!---\s*TODO:\s*([^>]*?)\s*--->" 
,'øTODO:\1ø','all')/>
<cfloop index="i" list="#Matches#" delimiters="ø">
        <cfif Left(i,5) EQ 'TODO:'>
                <li>#Replace(i,'TODO:','')#</li>
        </cfif>
</cfloop>



>Peter,
>
>Open your site as a project in CFEclipse, then find the Tasks view (where
>view=panel). Alter the filter on the tasks view to show only tasks from the
>currently open project, then open one of the .cfm files from your project.
>Instantly you should see a list of all the tasks in your project. You can
>select the contents of the tasks view and paste into something else, like
>Excel or whatever.
>
>-- 
>nathan strutz
>http://www.dopefly.com/
>
>
>On 4/4/07, Peter Boughton <[EMAIL PROTECTED]> wrote:
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274535
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to