In search of modern Java Style guide

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • styleguide

    Style guides for Google-originated open-source projects

  • I believe they have xml files that you can import into your IDE from here: https://github.com/google/styleguide

  • java-code-styles

    IntelliJ IDEA code style settings for Square's Java and Android projects.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • spring-javaformat

  • Have a look a https://github.com/spring-io/spring-javaformat , they have MAVEN plugin as well as IDE plugin, so have tools both for developers and CI.

  • google-java-format

    Reformats Java source code to comply with Google Java Style.

  • https://github.com/google/google-java-format has no configuration options except for turning on AOSP mode (which thankfully changes to 4 spaces).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts