File  --->    Setting  --->   Editor   --->    General   ---->   Auto  Import

IDEA  自动清除不使用的 引用包

Add unambiguous imports on the fly:自动帮我们优化导入的包

Optimize imports on the fly:自动去掉一些没有用到的包 

 

相关文章:

  • 2021-11-19
  • 2021-06-20
  • 2021-12-30
  • 2021-07-10
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
猜你喜欢
  • 2021-10-25
  • 2021-05-21
  • 2022-12-23
  • 2021-10-08
  • 2021-06-22
  • 2021-12-31
  • 2021-09-27
相关资源
相似解决方案