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

1:mac快捷键清包

control + option + o  

windows快捷键

Ctrl + Alt + O  

 

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

在下图选中方方框中勾上

mac idea配置配置自动清除类中无用的import包_第1张图片

mac idea配置配置自动清除类中无用的import包_第2张图片

你可能感兴趣的:(Mac,Idea)