IDEA 设置自动导入包,以及手动导入包

版权声明:菩提本无树,明镜亦非台,本来无一物,何处惹尘埃 https://blog.csdn.net/Aria_Miazzy/article/details/88532044

IDEA 设置自动导入包,以及手动导入包


自动导入包

IntellJ IDEA -> Preferences -> Editor -> Auto Import 

  •   选中 Add unambiguous imports on the fly
  •   选中 Optimize imports on the fly 


手动导入包

  •  快捷键: alt + enter

猜你喜欢

转载自blog.csdn.net/Aria_Miazzy/article/details/88532044
今日推荐