超实用!再也不用一个个去点击导入那些包了!

下面是Auto Import设置步骤详解:

  • Settings→Editor→General→Auto Import 
  • 然后勾选Add unambiguous imports on the fly以及Optimize imports on the fly

IDEA Auto Import:自动优化导包(自动删除、导入包)

相关文章: