eclipse保存文件自動格式化

具體方法:windows-->Preferences-->Java --> Editor-->Save Actions, 看到右邊的選項了吧,勾選「Perform the selected actions on save」,其他選項根據需要自己選擇或者配置就可以了。 
相關文章
相關標籤/搜索