Command-line indentation tool for Java

Trevor Saunders trev.saunders at
Sun Sep 25 00:51:03 UTC 2011

On Sat, Sep 24, 2011 at 06:55:33PM -0500, John J. Boyer wrote:
> Is there anything like the Gnu indent program for Java? I write my Java 
> code ulsing a text editor and build using Ant. The only thing lacking is 
> a command-line indentation tool. mannual indentation is tedious and 
> unrealiable, and the indentation of a block may change in the course of 
> development.

well, reasonable text editors will generally get the indentation mostly
 java is close enough to C/C++ that indent  works well enough, but
 reasonable text editors will usually get indentation right for you with
 out any manuel work.


> Thanks,
> If such a tool does not exist, how time-consuming would developing one 
> be?
> John
> -- 
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> Madison, Wisconsin USA
> Developing software for people with disabilities
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the Blinux-list mailing list