1. IDEA 去除无用的 import 的快捷键
Ctrl + Alt + O
2. IDEA 自动去除无用的 import
File -> Settings -> Editor -> General -> Auto Import -> Optimize imports on the fly


版权归原作者 Encarta1993 所有, 如有侵权,请联系我们删除。
Ctrl + Alt + O
File -> Settings -> Editor -> General -> Auto Import -> Optimize imports on the fly

