java-code-styles
IntelliJ IDEA code style settings for Square's Java and Android projects. (by square)
fmt-maven-plugin
Opinionated Maven Plugin that formats your Java code. (by spotify)
java-code-styles | fmt-maven-plugin | |
---|---|---|
2 | 2 | |
2,956 | 307 | |
0.0% | 1.0% | |
0.0 | 6.6 | |
11 months ago | 17 days ago | |
Shell | Java | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
java-code-styles
Posts with mentions or reviews of java-code-styles.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-09.
-
Zero Config Code Formatter?
I like square’s java code style for intellij, https://github.com/square/java-code-styles, probably there’s a way to run these at the terminal
- In search of modern Java Style guide
fmt-maven-plugin
Posts with mentions or reviews of fmt-maven-plugin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-09.
-
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?
When comparing java-code-styles and fmt-maven-plugin you can also consider the following projects:
spotless - Keep your code spotless
google-java-format - Reformats Java source code to comply with Google Java Style.
palantir-java-format - A modern, lambda-friendly, 120 character Java formatter.
styleguide - Style guides for Google-originated open-source projects
formatter-maven-plugin - Formatter Maven Plugin
prettier-java - Prettier Java Plugin
java-code-styles vs spotless
fmt-maven-plugin vs google-java-format
java-code-styles vs google-java-format
fmt-maven-plugin vs spotless
java-code-styles vs palantir-java-format
fmt-maven-plugin vs styleguide
java-code-styles vs styleguide
fmt-maven-plugin vs formatter-maven-plugin
java-code-styles vs prettier-java
fmt-maven-plugin vs palantir-java-format