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:290701
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4