File --> Settings... --> Editor --> General --> Auto Import --> 勾选"Optimize imports on the fly(for current project)"


本文介绍如何在IntelliJ IDEA中进行自动导入优化设置,通过简单的步骤启用Optimize imports on the fly选项,可以有效提升代码整洁度并提高开发效率。
File --> Settings... --> Editor --> General --> Auto Import --> 勾选"Optimize imports on the fly(for current project)"



被折叠的 条评论
为什么被折叠?