Download the formatter and run it with: To reformat changed lines in a specific patch, use google-java-format-diff.py. Note: There is no configurability as to the formatter's algorithm for formatting.
Eclipse is a powerful, highly extensible open-source IDE designed for professional Java development, enterprise-scale applications, and robust plugin-based work - Eclipse – Professional Integrated ...