更新时间:2022-04-11 18:01:21
IntelliJ IDEA在设置
中提供了动态优化导入的选项。 编辑
| 一般
| 自动导入
和提交项目对话框中的优化导入选项。
IntelliJ IDEA offers an option to Optimize imports on the fly in Settings
| Editor
| General
| Auto Import
and Optimize imports option in the Commit Project
dialog.