[cdi-dev] Code Formatting Rules

Pete Muir pmuir at redhat.com
Mon May 16 12:07:17 EDT 2011


BTW Dan, George is talking about the spec, not Seam. But anyway, I don't really mind what we use. Best to just pick one now.

On 16 May 2011, at 16:53, Dan Allen wrote:

> We are using the JBoss Community formatting profile. We maintain a copy of it in the Seam build repository.
> 
> https://github.com/seam/build
> 
> We have profiles for Eclipse, NetBeans and IntelliJ.
> 
> The rules for XML are listed in the readme.
> 
> This is laid out on the development guidelines page as well:
> 
> http://seamframework.org/Seam3/DevelopmentGuidelines#H-Code
> 
> Cheers,
> 
> -Dan
> 
> On Fri, May 13, 2011 at 08:41, Pete Muir <pmuir at redhat.com> wrote:
> The API follows the same rules as Weld, see https://github.com/weld/core/blob/master/eclipse-code-formatter-profile.xml. Eclipse doesn't support pluggable XML formatting so you are on your own there ;-)
> 
> On 13 May 2011, at 16:07, George Gastaldi wrote:
> 
> > Hello,
> >
> > Which code formatting rules are we following on the spec ? Is there a
> > Eclipse formatter XML avaiable for this project ?
> >
> > Regards,
> >
> > Goerge
> > _______________________________________________
> > cdi-dev mailing list
> > cdi-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> 
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> 
> 
> -- 
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
> 
> http://www.google.com/profiles/dan.j.allen#about
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> 




More information about the cdi-dev mailing list