> Behalf Of Andrea Vicentini
> 
> What about an IntelliJ-ANT Task to lay out the code of a file?
> And what about another IntelliJ-ANT Task to perform import statement
> optimizations?
> -> being ANT Task would give us the chance to use them easily,
consistenly
> and
> automatically on all the sources of our projects.

Try sf.net/projects/jrefactory, the <pretty/> ant task:

   <target name="beautify" depends="prepare">

      <taskdef name="pretty" classname="org.acm.seguin.ant.Pretty"
               classpath="${basedir}/../lib/prettyprinter.jar"/>

      <pretty settingsDir="${basedir}/../config" cvs="true"
compileDir="${build.dir}/classes">

         <fileset dir="${src.dir}">
            <include name="**/*.java" />
         </fileset>

      </pretty>

   </target>

It beautifies all java files but is smart enough to skip beautification
of unmodified files.

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to