手动导入:
应用快捷键Alt+Enter;
主动导入设置:
File -> Settings -> Editor -> General -> Auto Import ->勾选“Add unambiguous imports on the fly”->Apply;
File -> Settings ->
手动导入:
应用快捷键Alt+Enter;
主动导入设置:
File -> Settings -> Editor -> General -> Auto Import ->勾选“Add unambiguous imports on the fly”->Apply;
File -> Settings ->