Hello All,
This has now been merged [1]. This is only on the main branch, 6.3 currently, and will not be back ported.

There is nothing new you've got to do except compile your code, which we hope you're already doing :), before you submit a PR. If you would like to integrate the format style into your IDE there are some instructions in the contributing guide [2].

[1]: https://github.com/resteasy/resteasy/pull/3364
[2]: https://github.com/resteasy/resteasy/blob/main/CONTRIBUTING.adoc#ide-config-and-code-style

On Tue, Dec 6, 2022 at 10:13 AM James Perkins <jperkins@redhat.com> wrote:
Hello All,
We are considering enabling auto-formatting of source code during the build process in RESTEasy. This would use the formatter-maven-plugin [1] and the impsort-maven-plugin [2] to format the source code.

This will allow all code to be uniform without having to know which code style to use in your IDE. You would simply run a Maven lifecycle that invokes the process-sources lifecycle event and your source code would be formatted. This lifecycle should be run anyway before a commit happens :)

If you've got any concerns or questions about this, please feel free to reach out.

[1]: https://code.revelc.net/formatter-maven-plugin/
[2]: https://code.revelc.net/impsort-maven-plugin/

--
James R. Perkins
JBoss by Red Hat


--
James R. Perkins
JBoss by Red Hat