Any way (or shortcut) to auto import the classes in IntelliJ IDEA like in Eclipse?

前端 未结 7 2141
无人及你
无人及你 2020-12-04 09:43

In Eclipse, while coding in Java and press Ctrl + Shift + O auto import all the Classes automatically.
In NetBeans, this is done with

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 10:36

    Seems like IntelliJ IDEA will import missed class automatically, and you can import them by hit Alt + Enter manually.

提交回复
热议问题