Authors:
meo
opensource software

Eclipse Code Formatter

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

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

Small donations are welcomed.
Downloads: 254246
Rating:
Participated in rating: 18
Version Since Build Until Build File/URL Size (Kb) Date Details
14.1.110.137. 110.137. 132.637. Download 21762.65 2014-04-24 00:17:24 details
14.1.132.637. 132.637. . Download 21763.01 2014-04-08 12:34:37 details
2.3.0. 90. 109.*. Download 21288.55 2012-07-12 23:30:50 details
. .
26 updates are hidden show all updates

Recent change notes:


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
...
0.1 (2011-11-01)
- Initial release

General usage instructions:

Comments:

12>
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.
.
Anonymous
Rated:
2013-07-25 20:05:22
works as expected
.
wokier
Rated:
2013-07-08 19:56:28
Useful Plugin. Remember to activate and configure the plugin before using. Great support from the developer.
.
sharpnk
Rated:
2013-04-10 03:42:44
Update: The author did a ninja update after I reported the bug. Now this is fixed. Thanks for the effort and enjoy the beer!
.
sharpnk
2013-04-09 21:14:01
This doesn't work for me either. I am on Mac 10.8.3, Intelli J 12.1 and stock jdk 1.6.0_43. Same format file works on windows. Any suggestions? The format file imported fine but it doesn't do anything when I try to reformat the code. I also tried with ctrl+~ to specify code format profile as well, but no dice either.
.
meo
2012-11-21 15:40:06
I have seen the tab on new line only when no formatting was done in Eclipse.
.
dimylik
2012-11-21 15:30:17
Hi, can you please fix new lines formatter, in Eclipse they use tab character, in IDEA just empty line (enter) All other stuff is working good! Great!
.
meo
2012-09-18 17:21:44
Sure, if you have noticed any difference, please create an issue or send me a mail.
.
delor
Rated:
2012-09-18 17:15:12
Would it be possible to organize imports according to Eclipse settings?
.
NeverwinterMoon
Rated:
2012-05-16 13:56:58
This is, hands down, the best and most useful plug-in for IDEA.

I've been having a world of a headache at work where everyone uses Eclipse and is forced to have the same formatting settings... This baby here solved all of my problems.

I can only hope the plug-in will be even more improved and will offer even more features. To show my gratitude and appreciation, I will certainly make a donation to the author of this project!
.
mishmashru
Rated:
2012-04-09 03:04:27
the most useful plug-in so far. It allows to easily use both Eclipse and IDEA in a team working on the same project with the same coding standards for text formating
.
12>