eclipse保存时自动格式化代码

1.windows-->Preferences-->Java --> Editor-->Save Actions
2.勾选“Perform the selected actions on save
(其他选项根据需要自己选择或者配置)

posted @ 2025-01-02 18:07  Grit_Doyle  阅读(45)  评论(0)    收藏  举报