Re: Eclipse, Jalopy, and Code Style Formatting and Checking [message #323607] |
Thu, 03 January 2008 14:09  |
Eclipse User |
|
|
|
I am wondering the same thing. It looks like Eclipse uses the org.eclipse.jdt.core.formatter for formatting. I am going to try to see if I can get it to work directly without loading Eclipse.
My group currently uses JRefactory Pretty Printer for source formatting: http://jrefactory.sourceforge.net/cspretty.html
It is not very up to date. At least the version we use runs on Java code up to 1.6, but doesn't allow generics or annotations.
I considered Jalopy too, but it doesn't look like it is being maintained either.
Checkstyle is a good program, but it intentionally won't modify your code, it only reports on whether you are following the specified style.
|
|
|
Re: Eclipse, Jalopy, and Code Style Formatting and Checking [message #324347 is a reply to message #323607] |
Wed, 23 January 2008 06:32  |
Eclipse User |
|
|
|
Originally posted by: stefan.bley.dd.gmx.de
Munsey schrieb:
> I am wondering the same thing. It looks like Eclipse uses the org.eclipse.jdt.core.formatter for formatting. I am going to try to see if I can get it to work directly without loading Eclipse.
>
> My group currently uses JRefactory Pretty Printer for source formatting: http://jrefactory.sourceforge.net/cspretty.html
>
> It is not very up to date. At least the version we use runs on Java code up to 1.6, but doesn't allow generics or annotations.
>
> I considered Jalopy too, but it doesn't look like it is being maintained either.
>
> Checkstyle is a good program, but it intentionally won't modify your code, it only reports on whether you are following the specified style.
Have a look at Hybridlabs beautifier, which can be integrated into Maven.
http://www.hybridlabs.org/activities.html
|
|
|
Powered by
FUDForum. Page generated in 0.05144 seconds