IDEA 自动导包
IDEA 实用功能Auto Import:自动优化导包(自动删除、导入包)
Settings→Editor→General→Auto Import
然后勾选Add unambiguous imports on the fly以及Optimize imports on the fly
IDEA 实用功能Auto Import:自动优化导包(自动删除、导入包)
Settings→Editor→General→Auto Import
然后勾选Add unambiguous imports on the fly以及Optimize imports on the fly