Re: Listing TODOs in CF files

2007-04-19 Thread Peter Boughton
Thanks Jim. I use Eclipse for revision info, and I'm the only author for the project, but this looks like it could be an appealing idea to play around with. :) My Dp_Libraries has a mechanism for doing this. Not a TODO but that could be done in the same way. I use a custom HTML tag called

Re: Listing TODOs in CF files

2007-04-19 Thread Peter Boughton
Thanks Ben Ray - both look like they can do what I want so I'll have a play and see which one I like best. :) Another option at CFLIB - http://www.cflib.org/udf.cfm/reget On 4/4/07, Ben Nadel [EMAIL PROTECTED] wrote: ~|

Re: Listing TODOs in CF files

2007-04-19 Thread Peter Boughton
Thanks for the suggestion, but I sometimes use multi-line TODOs so it wouldn't be as simple as looping through line by line. I need to get a list of all the TODOs in a list of (primarily .cfm) files. In the unlikely event of people not being familiar with TODOs, they're just CFML

Re: Listing TODOs in CF files

2007-04-19 Thread Peter Boughton
Yeah, my job is creating and maintaining systems, which could be taken as being paid for writing code, but ultimately I'm being paid for my time and expertise in developing a product. But I see that as different to presenting code [fragments] as a product to be sold - which doesn't work for

Re: Listing TODOs in CF files

2007-04-06 Thread Michael Mongeau
I need to get a list of all the TODOs in a list of (primarily .cfm) files. In the unlikely event of people not being familiar with TODOs, they're just CFML comments like this: !--- TODO: Thing I have to do --- You could loop over the file contents line-by-line using the end-of-line characters

Re: Listing TODOs in CF files

2007-04-05 Thread Claude Schneegans
I don't pay for code though Not for 15 bucks? Then do it yourself ;-)) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Listing TODOs in CF files

2007-04-05 Thread Claude Schneegans
I don't know what the REExtract thing does exactly It returns all strings between two matching REs in a list or in a query, with positions and lengths of all strings Pretty handy when it is easier to describe what delimits strings than to describe the strings themselves. For example,

Re: Listing TODOs in CF files

2007-04-05 Thread Dan O'Keefe
It has been worth it to me, a hundred times over. Dan On 4/5/07, Claude Schneegans [EMAIL PROTECTED] wrote: I don't know what the REExtract thing does exactly It returns all strings between two matching REs in a list or in a query, with positions and lengths of all strings Pretty handy

Listing TODOs in CF files

2007-04-04 Thread Peter Boughton
I need to get a list of all the TODOs in a list of (primarily .cfm) files. In the unlikely event of people not being familiar with TODOs, they're just CFML comments like this: !--- TODO: Thing I have to do --- The presence of the TODO: then flags up that something needs to be addressed. Very

Re: Listing TODOs in CF files

2007-04-04 Thread Nathan Strutz
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.

Re: Listing TODOs in CF files

2007-04-04 Thread Claude Schneegans
I'm sure there has to be a better way of doing it than that, You're quite right: Have a look at CF_REextract: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm -- ___ REUSE CODE! Use custom tags; See

Re: Listing TODOs in CF files

2007-04-04 Thread Peter Boughton
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

Re: Listing TODOs in CF files

2007-04-04 Thread Peter Boughton
Thanks Claude, that looks impressive. I don't pay for code though - let me know when it's open-source. ;) I'm sure there has to be a better way of doing it than that, You're quite right: Have a look at CF_REextract: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm --

RE: Listing TODOs in CF files

2007-04-04 Thread Dave Watts
I don't pay for code though - let me know when it's open-source. ;) Out of curiosity, do you get paid for writing code yourself? I'm genuinely curious. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our

RE: Listing TODOs in CF files

2007-04-04 Thread Ben Nadel
Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Peter Boughton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 5:27 PM To: CF-Talk Subject: Re: Listing TODOs in CF files Thanks Claude, that looks

Re: Listing TODOs in CF files

2007-04-04 Thread Raymond Camden
] Sent: Wednesday, April 04, 2007 5:27 PM To: CF-Talk Subject: Re: Listing TODOs in CF files Thanks Claude, that looks impressive. I don't pay for code though - let me know when it's open-source. ;) ~| Deploy Web

RE: Listing TODOs in CF files

2007-04-04 Thread Jim Davis
On 4/4/07, Peter Boughton [EMAIL PROTECTED] wrote: I need to get a list of all the TODOs in a list of (primarily .cfm) files. In the unlikely event of people not being familiar with TODOs, they're just CFML comments like this: !--- TODO: Thing I have to do --- The presence of