1.修改设定:Window->Preferences
2.效果:
=>
[Eclipse]保存java文件时,自动删除不需要的包import
原文:https://www.cnblogs.com/vickylinj/p/9719952.html