Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: Eclipse, Jalopy, and Code Style Formatting and Checking
Re: Eclipse, Jalopy, and Code Style Formatting and Checking [message #323607] Thu, 03 January 2008 14:09 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:TableViewer and foreground color
Next Topic:how to control job worker thread
Goto Forum:
  


Current Time: Wed Jul 02 21:17:58 EDT 2025

Powered by FUDForum. Page generated in 0.05144 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top