Skip to main content
gamedev.net
🔒 Locked

[java] Java Beautifier

Started by Lucidquiet Sep 13, 2006 at 3:20 PM 4 replies 1k views
Original Post
Lucidquiet
Lucidquiet
I'm having a really difficult time finding a working Java 1.5 beautifier. One that works on Windows, Mac, and Linux, and one that is free, or open source. I've tried: beautyj -- doesn't support 1.5 jacobe -- doesn't support Mac astyle -- doesn't support Mac jindent -- really broken free version I appreciate any help, L-
"Education is when you read the fine print; experience is what you get when you don't." -Pete Seegerwww.lucid-edge.net
Palidine
Palidine
doesn't the eclipse editor have a built in beautifier? or are you looking for something you can run as a batch command-line tool?

-me
Lucidquiet
Lucidquiet
Quote:
Original post by Palidine
doesn't the eclipse editor have a built in beautifier? or are you looking for something you can run as a batch command-line tool?

-me


Yes, sorry, I forgot to mention that I want to batch process using a command-line tool.

L-
"Education is when you read the fine print; experience is what you get when you don't." -Pete Seegerwww.lucid-edge.net
CaptainJester
CaptainJester
http://jalopy.sourceforge.net/

Can run through Ant, Console, Eclipse, JEdit and used to have one for JBuilder.

Allows you to control down to the finest grained details.
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][
Thygrrr
Thygrrr
SHIFT-CTRL-F in Eclipse.

Also, you can easily customize and export/import a host of formatting options under Window->Preferences->Java->Code style->Formatter

And you can format whole source trees in the package explorer without individually opening the files (just right-click on a package you want to beautify).

:-)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.