我对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

其他回答

项目结构=>模块=>选择你的模块=>路径=>确保选择了“继承项目编译输出路径”

我在删除。idea文件夹时也遇到了同样的问题。

然而,当我试图使其失效并重新启动时,.idea文件夹再次创建,但仍然没有显示文件夹。

我不得不这么做。关闭IntelliJ, 2.删除。idea文件夹;发射IntelliJ

这解决了问题。

查看答案

在IntelliJ IDEA中看不到项目文件夹

这可能是因为项目没有定义任何模块。尝试通过点击File > New > Module from existing Sources来添加现有的源代码,并选择项目的父目录

删除项目文件夹中的。idea 使用项目文件夹作为现有源代码创建一个新项目

操作系统:Mac && IDE: IntelliJ &&项目:Maven构建

导航到文件>项目结构>模块。 在右边区域;将显示模块列表。 删除所选的默认选项,并关闭IntelliJ。 再次开放;IntelliJ将询问您是否要处理该项目 Maven项目。 接受弹出窗口,您就可以开始了。