1:mac快捷键清包

control + option + o  

windows快捷键

Ctrl + Alt + O  

 

2:打开Perferences --->  Editor --->Auto Imort

在下图选中方方框中勾上

mac idea配置配置自动清除类中无用的import包

mac idea配置配置自动清除类中无用的import包

相关文章:

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