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
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:
~|
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
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
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
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.
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,
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
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
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.
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
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
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
--
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
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
]
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
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
17 matches
Mail list logo