eclipse保存时自动格式化代码
1.windows-->Preferences-->Java --> Editor-->Save Actions
2.勾选“Perform the selected actions on save
(其他选项根据需要自己选择或者配置)
1.windows-->Preferences-->Java --> Editor-->Save Actions
2.勾选“Perform the selected actions on save
(其他选项根据需要自己选择或者配置)