External Code Formatter

Products: IntelliJ IDEA

Vendor: Esko Luontola


Source code:

Bugtracker page

Allows using external code formatters, especially Eclipse's code formatter, as well as any command line code formatting tools, from within IntelliJ IDEA. Solves the problem of maintaining a common code style in team environments where both IDEA and Eclipse are used.
Downloads: 5689
Participated in rating: 11
Version Compatible builds Date
1.0.4 95 — 95.* 05.10.2011 Download
1.0.3 80.9000 — 85.* 23.06.2009 Download
1 update is hidden show all updates
Screenshot #598

Recent change notes

1.0.4 (2009-11-04)
- Compatible with IDEA 9

1.0.3 (2009-06-23)
- Fixed Eclipse code formatter on non-Windows platforms

1.0.2 (2009-02-14)
- Compatible with IDEA 8

1.0.1 (2008-01-22)
- Fixed a file cache issue: When a file was reformatted more than once, the changes between the reformats were lost.

1.0.0 (2007-12-21)
- Minor refactorings

0.5.0 (2007-12-19)
- Support for Undo (Ctrl+Z)
- Help documentation for using a custom code formatter

0.4.0 (2007-12-14)
- Support for any code formatter which has a command line interface

0.3.0 (2007-12-12)
- Improved performance: Reformats all selected files by starting Eclipse only once

0.2.0 (2007-12-11)
- Added help documentation
- Added program icons
- Switched development platform to IDEA 7.0 and JDK 1.5 for maximum compatibility

0.1.0 (2007-12-05)
- Initial release

Known issues
- Does not support reformatting a selection within a file. Implementation of this feature is not planned, until there is a code formatting tool (executable on the command line) which supports reformatting a text range.

General usage instructions

When enabled, this plugin replaces IDEA's built-in code formatter transparently. If the selected code formatter does not support a file type, or you try to reformat a text selection, the plugin will automatically fall back to using IDEA's built-in code formatter.

Click "Help" in the plugin's settings dialog for instructions. You must have Eclipse 3.2 or later installed to use the Eclipse code formatter. Any other command line code formatting tool can also be used.