Yeah, there must be one but I haven't looked at it.  They must be some
issues with it though because there is an option to turn it off and I've
seen it get pretty confused with strings with embedded quotes in them,
for example.
Thanks
        Mark

-----Original Message-----
From: Jaime Metcher [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 7:50 PM
To: CF-Talk
Subject: RE: CF Coding Standards

Surely the Smith project has one?  For that matter, cfeclipse itself is
obviously doing some sort of parsing, no?

Jaime

> -----Original Message-----
> From: Mark Mandel [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 10 October 2007 9:04 AM
> To: CF-Talk
> Subject: Re: CF Coding Standards
>
>
> Gaulin,
>
> To do something like that, you would need a decent Open Source CFML 
> parser.
>
> I started working on one a while back, and got pretty far into it, but

> I got sidetracked by other OSS commitments.
>
> I should return to it at some point, and finish it off.
>
> Mark
>
> On 10/10/07, Gaulin, Mark <[EMAIL PROTECTED]> wrote:
> > Actually, all this talk about cf code formatting styles is
> making me wish there was a way to reformat code in cfeclipse (to my 
> liking), but I'd always be wary about the formatter changing something

> important (and subtle) in the html. Still, it might make an 
> interesting addition to cfeclipse.
> >
> > What I would find more interesting is something approaching a
> "coding style validator" for important things, like "var"ing local 
> variables in functions and always scoping variables properly (to the 
> degree that I would want), checking for cfparam tags for url, form, 
> and attribute variables, etc.
> >
> > Does anything like that already exist for Eclipse, or in CFEclipse?
> >
> > Thanks
> >     Mark
> >
> > ________________________________
> >
> > From: Matt Robertson [mailto:[EMAIL PROTECTED]
> > Sent: Tue 10/9/2007 3:41 PM
> > To: CF-Talk
> > Subject: Re: CF Coding Standards
> >
> >
> >
> > or don't do tabs and use spaces exclusively.  Tell HomeSite/CF 
> > Studio to convert tabs to spaces so you don't have to actually use 
> > the spacebar.  I went that route after I wound up having to edit 
> > non-CF code in HS and weird things started happening to the other 
> > code, whose
> > (primitive) native editor used spaces only, and whose interpreter 
> > didn't figure on seeing tabs in the code like that.  Not sure if CF 
> > cares much over the extra char count.
> >
> > Must be a slow day if we are all waxing eloquent on this utterly 
> > worthless topic :D
> >
> > Oh and another variation on the tag thing:
> >
> > <cfmail
> >    to="#MailList.EmailAddr#"
> >    from="#MailList.EmailFrom#"
> >    subject="#MailList.EmailSubject#"
> >    server="#MailList.EmailServer#"
> >    type="HTML">
> >
> > I put the closing bracket on the same line as the last
> attribute.  woo hoo.
> >
> > --
> > [EMAIL PROTECTED]
> > Janitor, The Robertson Team
> > mysecretbase.com
> >
> >
> >
> >
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

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

Reply via email to