Command-line indentation tool for Java

Tim Chase blinux.list at thechases.com
Tue Sep 27 17:18:29 UTC 2011


> Yes, it's called emacs with the edb mode package added.

I'm shooting from the hip here, as I don't do much in Java, but 
the "=" operator in Vim serves to reformat the <motion> that 
follows.  To reformat the entire file, use

   gg=G

It works for a number of other C-like languages I've used.

-tim






More information about the Blinux-list mailing list