Eclipse Code Formatter
Vendor: Vojtech Krasa
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)
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.
Full documentation URL: https://github.com/krasa/EclipseCodeFormatter#instructions
6 updates are hidden show all updates
Recent change notes:
- 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