Intellij IDEA 自动清除无效 import 包 和 清除无效 import包 的快捷键
IDEA快捷键:
ctrl + alt + o
配置方式:
配置路径依次是:Settings --> Editor --> General --> Auto Import --> Java --> 勾选Optimize imports on the fly(for current project) --> 保存
配置方式图解:

IDEA快捷键:
ctrl + alt + o
配置方式:
配置路径依次是:Settings --> Editor --> General --> Auto Import --> Java --> 勾选Optimize imports on the fly(for current project) --> 保存
配置方式图解:
