点击此处浏览总目录

IntelliJ设置自动删除无用import包

File --> Settings... --> Editor --> General --> Auto Import --> 勾选"Optimize imports on the fly(for current project)"

  

 

  

 

posted @ 2020-05-26 17:58  立业的博客  阅读(2507)  评论(0编辑  收藏  举报