We use an open source product called Jalopy (http://jalopy.sourceforge.net) 
for formatting our Java code.  I guess it'd be possible to fork this project 
and get it to work with Actionscript files instead, though it could be 
interesting trying to format code within mxml files.

When you're working in a team, it helps to have a code formatter to enforce 
standard formatting across developers.  It's something we really miss in 
Flex.  It also helps when using CVS, because the diffs between versions are  
the actual code changes, not any formatting changes.

When we format with Jalopy, it automatically adds in javadoc comments, with 
the comment as DOCUMENT ME!.  It will also add in the appropriate parameter 
list ready for comments filling in.  This all helps save time.  Combining 
this with Eclipse's standard header comments and code generation makes Java 
code development more productive.

I too would like to see a code formatter built into Flex.

Tim.

On Monday 03 Apr 2006 02:10, Michael Schmalle wrote:
> Hi,
>
> This is just my opinion;
>
> I have a project I am working on that has over 50 classes/interfaces and
> counting, I have written this all myself. My advice;
>
> When you create classes/interfaces, methods and properties, format them
> manually and don't rely on code formatters.
>
> Hey, some will laugh at me for saying this but, it produces better code.
> Mark my words it does. You tend to find mistakes quicker and after you have
> exercised you formatting routine enough you find yourself formatting as
> your write.
>
> You will also find yourself taking much more pride in the way your code
> looks and know exactly how it got that way, becasue you did it.
>
> It's also a good way to get in the habit of writting really good
> documenting comments. I don't mean inline but, api doc comments.
>
> Just the 2 cent here.
>
> Peace, Mike
>
> On 4/2/06, bkeinan <[EMAIL PROTECTED]> wrote:
> >  Hi all,
> >
> > I am working on a big project using flex for building the client side.
> > We use the flex builder/SEPY for writing teh action scrip but none of
> > them support good code formating that allows you to define the way you
> > want the code to look like (like in the juva plug in of eclipse).
> > Do any of you knows a good code formatter for action script (free or
> > not)?
> >
> > Thanks,
> > Benny
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >  ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your group
> > "flexcoders<http://groups.yahoo.com/group/flexcoders>" on the web.
> >
> >    -  To unsubscribe from this group, send an email to:
> >    
> > [EMAIL PROTECTED]<[EMAIL PROTECTED]
> >.com?subject=Unsubscribe>
> >
> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  ------------------------------
>
> --
> What goes up, does come down.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to