Saturday, February 19, 2011

Standalone java base java formatter

Is there a Java-based program(jar) that can format java code(indenting/spacing). If it would be configurable that would be great.

From stackoverflow
  • You bet: JIndent.

  • CheckStyle is another and FREE. CheckStyle:Indentation.

    Milhous : Can you give a specific example of using this tool?
    Adeel Ansari : Once I have used this as a Netbeans plugin. There are plugins available for Eclipse, IntelliJ, Netbeans, JBuilder, JEdit and Emacs JDE. The plugin I used before is http://www.sickboy.cz/checkstyle/screenshots.html

0 comments:

Post a Comment