Eclipse Code Formatter

Products: IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio, 0xDBE, CLion

Vendor: Vojtech Krasa



Source code:

Bugtracker page

Allows using Eclipse's code formatter directly from IntelliJ.
Solves the problem of maintaining a common code style in team environments where both IDEA and Eclipse are used.

Go to for instructions how to use it.

Currently supports formatting of
-Java (also emulates Eclipse's imports optimizing)

Plugin for IJ 13+ contains a formatter from Eclipse 4.4 which supports Java 1.8, plugins for older IntelliJ contains a formatter from Eclipse 4.3

Small donations are welcomed.
Downloads: 543381
Participated in rating: 24
Version Compatible builds Date 132.637 29.01.2015 Download 110.137 — 132.637 23.10.2014 Download
2.3.0 90 — 109.* 12.07.2012 Download
12 updates are hidden show all updates

Recent change notes

14.8 (2015-01-27)
- fixed jsp import optimizing
14.7 (2014-12-02)
- exception fix for Android Studio
14.6 (2014-11-05)
- libs from Eclipse 4.4.1
- configurable formatting for Live Templates (default off)
14.5 (2014-10-22)
- fixed notifications settings for IJ 14
- import optimizing fix
- settings scroll pane added
14.4 (2014-09-12)
- Live templates formatting fix
14.3 (2014-09-11)
- StringIndexOutOfBoundsException when formatting during commit
14.2 (2014-07-16)
- java formatter from Eclipse 4.4 - supports Java 1.8
- language level used for formatting is loaded from project settings
14.1 (2014-04-08)
- persisting of project specific enabling/disabling of the formatter
14.0 (2014-03-31)
- project specific enabling/disabling of the formatter (2014-01-15)
- error handling
4.1.0 (2013-11-24)
- Updated libs for Java formatting to Eclipse 4.3.1
4.0.0 (2013-11-22)
- Proper Import Optimizer integration, it is no longer true that IntelliJ's Import Optimizing must be turned off, quite the opposite.
- Hard-coded using of language level to 1.7 if configured lower in eclipse settings file, to be more user friendly.
3.9.0 (2013-11-21)
- IJ 13 API changes
3.8.1 (2013-10-17)
- better error messages.
3.8.0 (2013-10-15)
- format "Only VCS changed text" fixed
3.7.0 (2013-08-07)
- fix for custom static imports order
- settings validations
3.6.0 (2013-04-22)
- import order fix - issue #44
0.1 (2011-11-01)
- Initial release

General usage instructions


2015-05-05 17:26:59
@dorongold You're most welcome. I usually just run the inspection on the whole project and fix everything with one click.
2015-05-05 14:14:35
@meo, thanks for asking for the 'final' feature on intellij-plugin-save-actions. I hope it gets implemented soon. Regarding your comment about intellij's inspection for 'final', Such inspection indeed exists, and I already use it. But the inspection only highlights variables that can be declared final, it doesn't actually add the 'final' modifier. To add the modifier I have to go to every place in the code where I see the inspection highlighting a variable and click alt+enter (Quick-fix). Thanks again for eclipse code formatter. It's an awesome plugin! And it's great that you keep it constantly updated.
2015-05-04 11:46:44
2015-05-03 15:42:49
Thanks! IntelliJ has inspections for adding 'final' so it should be possible, unfortunately I do not have time to implement it, and it seems like a good feature for: so I would suggest to create an issue there.
2015-05-03 15:22:59
Great Plugin! I miss only one thing: I need Intellij to add the 'final' modifier everywhere possible. similar to Eclipse's: "Use modifier 'final' where possible" under "Save Actions". Is this somehow possible?
2015-03-12 19:24:56
2014-07-21 10:59:09
I love it so much
2014-07-15 12:02:11
IntelliJ Community doesn't support JS formatting. With this plugin I was able to configure formatter for JS files based on eclipse file format. Thanks a lot!
2014-07-07 13:40:42
I will try to find some time for it...
2014-07-03 20:00:58
love it, but it stopped working when I switched to java 8!? Any update on when this compatibility will be available?
2014-07-01 19:55:51
2014-06-13 02:22:09
It actually only complements to this plugin. This plugin works with 13.1, see "Since Build" and "Until Build" columns.
2014-06-13 01:01:40
2014-06-12 12:46:24
2014-06-12 12:45:23
It's incompatible with 13.1 version:(