When you want to format multiple Java source in
Eclipse, the only way is to open each and every
file, right click in the editor window, select the
"Format" option, and save the formatted file. This
plugin allows you to select one or more packages
in the Java Package Explorer and format all .java
files in those packages. You can also choose to
select just the specific Java source files you
wish to format, or even the whole source directory.