How to use Google Java Format for a more decisive Java source code style

188316473-f2c9e2c2-773b-49b7-86b7-b3189e

In fact, it is really not easy to unify the coding style between multiple sets of different IDE development tools. The code formatting capabilities between different IDEs are different, some are strong, some are weak, and how many are automatically typed? There are still some differences, so it is difficult to achieve true unity. So Google has gradually moved to the more decisive google-java-format formatting tool, which is less inclined to rely on code formatting capabilities between different IDEs. In this article, I intend to share the results of my two-day research to see how to achieve a more perfect style integration between different Java tools.

continue reading

This article is reprinted from https://blog.miniasp.com/post/2022/09/05/Using-google-java-format-on-VSCode-and-IntelliJ-IDEA
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment