拷贝一段代码后,包的路径发生变化,手动一个个Alt + Enter,太费劲。
解决: 删除错误的引用,设置自动导入jar包
设置:file -> settings -> Editor -> General -> Auto Import 勾选Add unambiguous imports on the fly
引用
[1]https://www.jianshu.com/p/2d4ab4c1f681
拷贝一段代码后,包的路径发生变化,手动一个个Alt + Enter,太费劲。
解决: 删除错误的引用,设置自动导入jar包
设置:file -> settings -> Editor -> General -> Auto Import 勾选Add unambiguous imports on the fly
[1]https://www.jianshu.com/p/2d4ab4c1f681
相关文章: