且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在IntelliJ IDEA中每次保存后自动优化导入

更新时间: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.