esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pollak <feeder.of.the.be...@gmail.com>
Subject Re: Code formatting / beautifier for Scala
Date Sat, 24 Oct 2009 16:32:43 GMT
On Sat, Oct 24, 2009 at 3:51 AM, Richard Hirsch <hirsch.dick@gmail.com>wrote:

> >>I would be happy to perform any cleaning based on any rules or standards
> agreed upon by the group.
>
> That would be really great.   Big task though....
>
> I've been trying to clean up the code in little ways (moving static
> texts to resource files, etc.) but I have too little experience with
> Scala to do anything in this regard.
>
> Do you know of some general rules / standards for Scala code?
>

IntelliJ has a nice code formatter.  We could manually run each Scala, XML,
and CSS file through IntelliJ.


>
> @dpp - is there something like this for lift?
>

No.  Sorry.


>
> D.
>
> On Sat, Oct 24, 2009 at 10:28 AM, Andy the destroyer
> <andythedestroyer@gmail.com> wrote:
> > I don't have any ideas for a beautifier but I think coming up with coding
> > standards would be a good idea. I noticed going through the code that in
> one
> > place "user" might represent an instance of the User class and other
> times
> > it might represent a Long user id. Without declarative static typing of
> Java
> > it can be confusing figuring out which is which. Just an idea.
> >
> > I would be happy to perform any cleaning based on any rules or standards
> > agreed upon by the group.
> >
> > -Andy
> >
> > On Fri, Oct 23, 2009 at 8:58 PM, Richard Hirsch <hirsch.dick@gmail.com
> >wrote:
> >
> >> As we move towards our first release, I'd like to clean up up our
> >> scala code. I've tried to find a code beautifier but without success?
> >> Anyone have any ideas?
> >>
> >> D.
> >>
> >
>



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message