formatter-maven-plugin
fmt-maven-plugin
Our great sponsors
formatter-maven-plugin | fmt-maven-plugin | |
---|---|---|
1 | 2 | |
270 | 307 | |
1.9% | 2.0% | |
8.9 | 6.6 | |
5 days ago | 12 days ago | |
Java | Java | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
formatter-maven-plugin
-
What java formatter do you use for formatting source code?
I've been partial to revlc/formatter-maven-plugin for some time
fmt-maven-plugin
-
Zero Config Code Formatter?
https://github.com/spotify/fmt-maven-plugin (formerly coveo) both to format before commit and to check on ci that the formatting is correct.
-
What java formatter do you use for formatting source code?
Coveo is another one that's easier to set up because /drumroll - there are no configurations at all. It uses the google java format which, as /u/dpash pointed out in his response has 2 space indentation and comically short lines. I'm not advocating 300 line lengths or anything, but google's style is very rigid in that regard. I've actually gotten used to the 2 space thing.
What are some alternatives?
google-java-format - Reformats Java source code to comply with Google Java Style.
uml-reverse-mapper - Automatically generate class diagram from code. Supports Graphviz, PlantUML and Mermaid output formats.
spotless - Keep your code spotless
docker-maven-plugin - INACTIVE: A maven plugin for Docker
styleguide - Style guides for Google-originated open-source projects
bnd - Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
palantir-java-format - A modern, lambda-friendly, 120 character Java formatter.
eclipse-null-eea-augments - Eclipse External null Annotations (EEA) repository
prettier-java - Prettier Java Plugin
terratest-maven-plugin - Maven plugin for running Terratest based tests or any go test via maven.
spring-javaformat