Categories
|
opensource software
Eclipse Code FormatterProducts: IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio Vendor: Vojtech Krasa Email: Website: http://plugins.intellij.net/plugin/?idea&id=6546 SourceCode: https://code.google.com/...rmatter-intellij-plugin/ 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 http://code.google.com/p/eclipse-code-formatter-intellij-plugin/wiki/HowTo for instructions how to use it. Currently supports formatting of Java and JavaScript files and GWT. It is possible to add support for more file types, feel free to contribute or raise an issue. Small donations are welcomed. Full documentation URL:
http://code.google.com/p/eclipse-code-formatter-intellij-plugin/wiki/HowTo
15 updates are hidden
show all updates
Recent change notes:3.6.0 (2013-04-22) - import order fix 3.5.1 (2013-04-13) - debug logging 3.5 (2013-01-28) - generation of new profile Id was not neccesary in some cases 3.3 (2013-01-17) - support for different format of import order settings file 3.3 (2013-01-14) - fixed loading of xml profile 3.2.1 (2012-12-09) - compiled with java 1.6 3.2 (2012-12-08) - new feature: support for xml config file for JavaScript formatter 3.1 (2012-11-30) - fixed redundant new line at imports under specific conditions 3.0 (2012-11-10) - fixed radio buttons at settings form 2.9 (2012-11-09) - attempt to fix NPE on import optimizing 2.8 (2012-10-15) - fixed optimize imports action shortcut 2.7 (2012-09-16) - fixed toolbar action for IDEs which did not support it 2.6 (2012-09-12) - improved error notification - only baloon is displayed, when formatting fails due to syntax error 2.5 (2012-08-28) - new JavaScript comments formatting - turned off by default 2.4 (2012-08-01) - new action for import optimalization, it de/registeres shortcuts of default action on formatter switch. - automatic turn off of IntelliJ's import optimalization on code reformatting - which causes problems. 2.3 (2012-07-12) - fixed bug: log spam 2.2 (2012-06-30) - added button for switching formatters to the main toolbar 2.1 (2012-06-22) - added support for formatting GWT native methods by Google Plugin for Eclipse 2.0 (2012-05-24) - enabled for other IDEs - optimized settings form and added links to Home page and Help. 1.9.x.1 (2012-04-09) - optimized settings form and fixed scrollbars 1.9 (2012-04-08) - new feature: support for xml config file for java formatter 1.8 (2012-04-04) - fixed bug: error when calling a live template from a file which has syntax errors - fixed bug: duplication of profiles - fixed bug: quick swich of code formatter now applies to all opened projects which uses same profile - new donation button :-) 1.7 (2012-03-25) - new features: profiles, import/export of settings, loading of imports order from eclipse settings file - fixed import sorting when no order is specified - deleted old imports formatter 1.6 (2012-03-21) - fixed bug - new import sorting was sometimes wrong 1.5.x.1 (2012-03-16) - fixed default import order - if you already installed 1.5, you need to change it manually 1.5 (2012-03-15) - added new experimental Import optimizer, which should work exactly like the Eclipse's one. - fixed bug - formatting one file multiple times toggles imports formatting 1.4 (2012-03-10) - added default language level for java formatter(1.5) and more robust handling of config file. 1.3 (2012-02-21) - new JavaScript formatting support! 1.2 (2012-02-20) - fixed bug - it was possible to get an error about wrong line separators 1.1 (2012-02-16) - fixed error logging - fixed bug - caret position was sometimes changed after reformatting - fixed bug - ctrl+shift+enter did not work correctly - fixed bug - optimizing of imports will be done only when the whole file is reformatted. 1.0 (2012-02-15) - new FileChooser dialog - fixed bug with loading of plugin 0.9 (2012-02-14) - caching of config file - improved error handling 0.8 (2012-02-13) - fixed rebuild for 11.1 build 114.65 0.7 (2012-02-13) - rebuild for 11.1 build 114.65 0.6 (2011-12-1) - new ability to disable IntelliJ's code formatter for certain file types 0.5 (2011-11-26) - improved imports group joining 0.4 (2011-11-25) - fixed bug with optimizing imports 0.3 (2011-11-24) - new Eclipse like Optimizing Imports function - notification about successful formatting will come up only when formatted area is longer than 300 character. 0.2 (2011-11-17) - fixed bug -when file was edited and editor was closed and then file was reformatted without prior saving, changes was lost. 0.1 (2011-11-01) - Initial release Known issues: -when editor is opened, view sometimes moves one line up or down after reformatting -IntelliJ's import optimizing must be turned off, otherwise this plugin will sometimes not optimize imports on reformatting |
||||||||||||||||||||||||||||

Comments:
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!
Update from repository does not work.
Downloaded 1.7.2.1 and unzipped to plugins and it works again.
Thanks again for providing this plugin.
It's stopping me from upgrading to 11.1 because it is so good.
Any idea when it might be compatible with intellijIDEA 11.1 ?
:)
Also, since recently Javascript formatting was added, now we can maintain both IDEs with no problem.
Thank you very much!
It does not crash on my PC, so please contact me if you notice any crashes :-)