Skip to content

onEclipse

Sections
Personal tools
You are here: Home » Plug-ins » Code Analysis » Jalopy

Jalopy

A Java source code formatter
Jalopy
Category
License
Development Status
Company
Latest Version
Code Analysis
BSD License
N/A
N/A
1.3

Jalopy is a source code formatter for the Sun Java programming language. It layouts any valid Java source code according to some widely configurable rules that meets a certain coding style without putting a formatting burden on individual developers.

Features include:

  • Distributed settings support
  • Easy switching between several code conventions
  • Several pre-configured brace styles (C, Sun, GNU), but fully user-configurable
  • Auto-insertion/removal of obsolete braces
  • Special empty braces handling
  • Wide range of whitespace options for method declarations/calls, brackets, parentheses, operators, delimeters...
  • Prepending of leading whitespace before every line
  • Powerful indentation/alignment capabilities
  • Configurable line wrapping
  • Controlable amount of blank lines between certain sections, blocks, statements...
  • Comment removal for all sorts of comments
  • Special comments to prohibit formatting for certain pieces of code (uses the Jindent syntax to retain backward compatibility)
  • Auto-insertion of missing Javadoc comments (selectively configurable for the different access levels) with variable interpolation
  • Auto-removal/insertion/correction of obsolete/missing/wrong Javadoc standard tags
  • Auto-insertion of parentheses around expressions to make operator precedence obvious
  • Auto-insertion of a serial version UID for serializable classes
  • Sorting of class/interface/variable/constructor/method declarations
  • Sorting of access modifiers
  • Insertion of separation comments between class/interface/variable/constructor/method declarations
  • Insertion of custom header/footer templates at the begin/end of every file (with variable interpolation)
  • Sorting/grouping of import declarations
  • Import optimization: expansion of on-demand import declarations to several single-type declarations (and vice versa). As of today only implemented for the Ant and JBuilder Plug-in
  • Configurable message output
  • Numbered backups (1-30)
  • Multi-processor support
  • Client API to make integration with other tools easy
  • Graphical application to customize the settings (with live-preview)
  • Powerful command line interface with regular expression filtering (Console Plug-in)
  • Several Plug-ins to integrate with common Java applications (current set includes Ant, Eclipse, JBuilder, JDeveloper, jEdit and NetBeans/Sun ONE Studio)

Created by rreyes
Last modified 2004-11-29 06:25 AM