我对IntelliJ有问题。在左边的项目视图中没有显示任何文件夹。 我的设置是“查看为:项目” 我如何管理它,以便再次显示文件夹和包? 我什么都不知道,因为我没有改变任何选项!
我使用的是IntelliJ 10.0.3。 我正在做一个Maven升降机项目。
我对IntelliJ有问题。在左边的项目视图中没有显示任何文件夹。 我的设置是“查看为:项目” 我如何管理它,以便再次显示文件夹和包? 我什么都不知道,因为我没有改变任何选项!
我使用的是IntelliJ 10.0.3。 我正在做一个Maven升降机项目。
当前回答
因为我有同样的问题,上面没有一个对我有效,这就是我所做的!我知道这是一个暴躁的解决方案,但至少它最终起作用了!我不知道为什么只有这种方法有效。应该是我电脑里的某个奇怪缓存吧?
I did close IntelliJ I did completely remove the .idea folder from my project I did move the folder demo-project to demo-project-temp I did create a new empty folder demo-project I did open this empty folder with intelliJ I did move all the content demo-project-temp. Don't forget to also move the hidden files Press right click "Synchronize" to your project You should see all the files and folders now! Now you can also safely remove the folder demo-project-temp. If you are on linux or MAC do it with rmdir demo-project-temp just to make sure that your folder is empty
其他回答
intellij密切 删除。idea文件夹 重启intellij 单击导入,选择您的项目 从现有资源创建项目,单击下一步,下一步,下一步
你应该可以出发了。
因为我有同样的问题,上面没有一个对我有效,这就是我所做的!我知道这是一个暴躁的解决方案,但至少它最终起作用了!我不知道为什么只有这种方法有效。应该是我电脑里的某个奇怪缓存吧?
I did close IntelliJ I did completely remove the .idea folder from my project I did move the folder demo-project to demo-project-temp I did create a new empty folder demo-project I did open this empty folder with intelliJ I did move all the content demo-project-temp. Don't forget to also move the hidden files Press right click "Synchronize" to your project You should see all the files and folders now! Now you can also safely remove the folder demo-project-temp. If you are on linux or MAC do it with rmdir demo-project-temp just to make sure that your folder is empty
在IntelliJ 2016.2中删除全局安装的IntelliJ并在我自己的主文件夹(Linux)中重新安装后,我刚刚在一个SBT项目中遇到了同样的问题。项目视图中不再显示任何文件或文件夹。
Project Structure视图甚至不会打开,将.idea文件夹重命名为.idea.bak并重新导入项目也没有任何区别。
然而,对我来说解决它的是重新启动Linux。后来它又能正常工作了,即使是原来的。idea文件夹。看来这个“修复”不仅仅局限于Windows世界。
项目结构=>模块=>选择你的模块=>路径=>确保选择了“继承项目编译输出路径”
Intellij在解决所有依赖项后导入项目。在我的情况下,它无法解决某些模块的依赖关系,并被卡在那里。我必须将Maven settings.xml从本地回收复制到默认的.m2文件夹,以便将其指向正确的本地回收。