IDEA 自动清除不使用的 引用包
File ---> Setting ---> Editor ---> General ----> Auto Import

Add unambiguous imports on the fly:自动帮我们优化导入的包
Optimize imports on the fly:自动去掉一些没有用到的包
File ---> Setting ---> Editor ---> General ----> Auto Import

Add unambiguous imports on the fly:自动帮我们优化导入的包
Optimize imports on the fly:自动去掉一些没有用到的包