安装插件
google-java-format https://plugins.jetbrains.com/plugin/8527-google-java-format
启用插件
格式化代码
参考
google-java-format Google Java Style Guide google-java-format
google-java-format https://plugins.jetbrains.com/plugin/8527-google-java-format
google-java-format Google Java Style Guide google-java-format
转载于:https://my.oschina.net/fxtxz2/blog/1926222