1、点击Window

2、选择Preferences

3、双击Java

4、双击Editor

5、点击Save Actions

6、勾选Perform the selected actions on save和Organize imports后,点击Apply and Close即可

时间:2024-10-29 00:00:57
1、点击Window
2、选择Preferences
3、双击Java
4、双击Editor
5、点击Save Actions
6、勾选Perform the selected actions on save和Organize imports后,点击Apply and Close即可