eclipse配置google代码风格

1、下载google code style的xml文件

地址:https://github.com/google/styleguide

导入xml文件

可能会遇到警告:

版本的问题,忽略即可。

<profiles version="13">,与eclipse版本不对应。

原文地址:https://www.cnblogs.com/xxoome/p/7764354.html