(试了启动这个不行,哈哈,用下面这个)
亲测有效~
自动导入引用挺爽的,有没有自动移除未使用的引用呢?
在 File | Settings | Editor | General | Auto Import 中,将 Optimize imports on the fly (for current project) 勾选上就可以啦~