Authors:
meo
opensource software

Eclipse Code Formatter

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

Vendor: Vojtech Krasa

Email:

Website: http://plugins.intellij.net/plugin/?idea&id=6546

SourceCode: https://github.com/krasa/EclipseCodeFormatter

Bugtracker page

Description:

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 https://github.com/krasa/EclipseCodeFormatter#instructions for instructions how to use it.

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

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: 371230
Rating:
Participated in rating: 21
Version Since Build Until Build File/URL Size (Kb) Date Details
14.4.132.637. 132.637. . Download 22334.8 2014-09-13 02:48:22 details
14.4.110.137. 110.137. 132.637. Download 21764.53 2014-09-13 02:45:54 details
2.3.0. 90. 109.*. Download 21288.55 2012-07-12 23:30:50 details
. .
6 updates are hidden show all updates

Recent change notes:


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
13.0.1.1 (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:

Comments:

123>
Anonymous
Rated:
2014-07-21 10:59:09
I love it so much
.
Anonymous
Rated:
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!
.
meo
2014-07-07 13:40:42
I will try to find some time for it...
.
Anonymous
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?
.
rfzabick
Rated:
2014-07-01 19:55:51
.
meo
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.
.
Anonymous
2014-06-13 01:01:40
.
meo
2014-06-12 12:46:24
really?
.
Anonymous
2014-06-12 12:45:23
It's incompatible with 13.1 version:(
.
Anonymous
Rated:
2014-04-24 20:58:26
I haven't used it extensively, but for the concerns we had to match the formatting with the Eclipse developers, this worked brilliantly!
.
meo
2014-01-25 03:55:01
You probably need to update the plugin to the new version. I just tried AS 0.4.1 and it works fine.
.
Anonymous
Rated:
2014-01-25 03:43:40
This plugin has stopped working with Android Studio 0.4.1. Do you have any idea what needs to be done to fix it?
.
meo
2014-01-14 18:04:17
No cleanups are implemented. But this one would be possible to do.
.
Anonymous
2014-01-14 18:00:11
Is there any additional option which format braces like "Use blocks in if/while/for/do statements" in eclipse?
.
librucha
Rated:
2013-11-08 03:53:17
Very nice. Thx.
.
123>