Eclipse中使用google代码风格formatter

时间:2020-12-04 06:04:45
【文件属性】:

文件名称:Eclipse中使用google代码风格formatter

文件大小:35KB

文件格式:XML

更新时间:2020-12-04 06:04:45

Eclipse google formatter

合作项目中,代码风格一致对于代码的编写特别重要。 Window->Preferences-> Java -> Code Style 下。 Formatter 主要是设置换行、缩进、空格等等格式。 直接点Import选择自己的模板就可以了。 google的代码风格是公认的,让你的代码风格与国际接轨。


网友评论