Have a look at Jalopy source and see what that does:
http://jalopy.sourceforge.net/jalopy-eclipse/downloads.html

I recommend "The Java Developer's Guide to Eclipse" by D'Anjou et al for a 
nice big fat book on how to implement Eclipse extensions.  We did some work 
with the Eclipse RCP before looking at Flex.

Tim.

On Monday 03 Apr 2006 11:49, Michael Schmalle wrote:
> You know,
>
> With my experience writting parsers and regular expressions I could write
> one of these as an Eclipse plugin.
>
> The problem is, I love programming in Java(yes, I do know how ;-) But, I
> looked at making Eclipse plugins in Eclipse's help. I got frekin lost. I
> have to much stuff on my plate to figure that out right now.
>
> I was also thinking down the road of porting my as3/mxml documentor into an
> Eclipse Plugin also.
>
> Can someone give me an honest assesment of how hard it is to create a
> plugin if you already have the 'application logic written' ?
>
> Peace, Mike
>
> On 4/3/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> > > When you're working in a team, it helps to have a code formatter to
> >
> > enforce
> > standard formatting across developers.
> >
> > Yeah, that makes a lot of sense! See, I didn't think of that but, I guess
> > manully formatting for me, has made me a better programmer. When I was
> > thinking of code formatters, I am from the flash dreamweaver area. So
> > there was not comment manipulation etc.
> >
> > So as far as those thing are concerned, yeah a code/comment formatter
> > would help. Maybe with options not to touch the 'formatting' but could
> > parse comments. This would save a lot of time.
> >
> > though it could be
> > interesting trying to format code within mxml files.
> >
> >
> > Why?, if you were say parsing the mxml as xml, then slice out the AS,
> > format it, then push it back into the xml.
> >
> > This is what I do with my document generator in AS3/mxml.
> >
> > Peace, Mike
> >
> > On 4/3/06, Tim Sawyer <[EMAIL PROTECTED]> wrote:
> > >  We use an open source product called Jalopy (
> > > http://jalopy.sourceforge.net) <http://jalopy.sourceforge.net%29>
> > > 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
> > >
> > >
> > >    -  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]
> > >ps.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.
>
> --
> 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