eclipse配置google代码风格
1:下载google code style的xml文件
https://github.com/LucioChn/eclipse-java-google-style/tree/master
2:导入xml文件
Window - Preferences - Java - Code Style - Formatter - Import
通过上面路径导入xml文件,最后选择GoogleStyle,保存。
1:下载google code style的xml文件
https://github.com/LucioChn/eclipse-java-google-style/tree/master
2:导入xml文件
Window - Preferences - Java - Code Style - Formatter - Import
通过上面路径导入xml文件,最后选择GoogleStyle,保存。