版本 eclipse 4.6
可以使用Tab 頁 Indentation 中 AlignMent of fields in class declarations 字段列對齊
配置好代碼格式後
在編寫代碼的過程中
先選中需要的格式化的代碼
Shift+Control+F 即可
良好的代碼風格 會帶來事半功倍的效果~
版本 eclipse 4.6
可以使用Tab 頁 Indentation 中 AlignMent of fields in class declarations 字段列對齊
配置好代碼格式後
在編寫代碼的過程中
先選中需要的格式化的代碼
Shift+Control+F 即可
良好的代碼風格 會帶來事半功倍的效果~
https://www.bilibili.com/video/BV1k8411575T/?vd_source=d68ed178f151e80fea1e02efd205802c