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 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290703
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