Eclipse Code Formatter
Vendor: Vojtech Krasa
Source code: https://github.com/krasa/EclipseCodeFormatter
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 (Eclipse 4.5 (requires JRE 1.7) and 4.4 libs, also emulates Eclipse's imports optimizing)
-C/C++ (Eclipse 4.5 (requires JRE 1.7))
-GWT (Eclipse 4.4)
Small donations are welcomed.
20 updates are hidden show all updates
Recent change notes
- upgraded C, Java formatter from Eclipse 4.5.2
- installed Eclipse (4.5+) can be chosen to format Java code
- added new import ordering implementation to match Eclipse 4.5.2
- fixed: editor tab changes to blue when there's no changes after format
- repacked and compressed jars to reduce size
- settings scrollbar fixed
- upgraded C, Java formatter from Eclipse Mars (4.5.1) - requires JRE 1.7
- fixed settings form for new IJ 15, 16
- upgraded Java formatter from Eclipse Mars SR1 (4.5.1) - requires JRE 1.7
- IndexOutOfBoundsException fix
- fixed cursor jumping after formatting
- probably fixed 'Attempt to modify PSI for non-committed Document!' after import optimizing
- disabled info notification popups
- C/C++ support - requires to run IDE with JRE 1.7, matched for file types defined in: 'Settings | Editor | File Types' with 'C++' name
- better matching of JS file types
- upgraded Java formatter from Eclipse Mars 4.5 - requires JRE 1.7
- configurable use of the old Java formatter from Eclipse 4.4 - requires JRE 1.6
- new IJ 15 API
- fixed reformat for 'only VCS changed text'
- fixed jsp import optimizing
- exception fix for Android Studio
- libs from Eclipse 4.4.1
- configurable formatting for Live Templates (default off)
- fixed notifications settings for IJ 14
- import optimizing fix
- settings scroll pane added
- Live templates formatting fix
- StringIndexOutOfBoundsException when formatting during commit
- java formatter from Eclipse 4.4 - supports Java 1.8
- language level used for formatting is loaded from project settings
- persisting of project specific enabling/disabling of the formatter
- project specific enabling/disabling of the formatter
- error handling
- Updated libs for Java formatting to Eclipse 4.3.1
- 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.
- IJ 13 API changes
- better error messages.
- format "Only VCS changed text" fixed
- fix for custom static imports order
- settings validations
- import order fix - issue #44
- Initial release