IntelliJ IDEA not showing my module/project

66.8k views Asked by At

Suddenly, IntelliJ IDEA is showing the following module view with a strange yellow colour in the background. I don't know how to get my module back, because it is not being shown: enter image description here

Do you know how can I see my project folder back?

Thanks

10

There are 10 answers

0
dev On BEST ANSWER

You can go to File-> Project Structure and then define it as a Source Folder

7
mutlei On

I assume you are used to working with Eclipse. Intellij IDEA uses the same idea, but different names.

A Eclipse workspace is equal to IDEA's project.

A Eclipse project is equal to IDEA's module.

0
FrommFrankl On

For Maven Projects that don't show up you can right click your pom.xml and click 'Add as Maven Project'.

3
Tyler On

This is way late, but deleting my .idea folder did the trick.

  1. Close IntelliJ
  2. cd <project-path>
  3. rm -rf .idea
0
Arjan Kemeling On

In my case Modules kept on disappearing and I managed to fix it with these simple steps:

  • In the Project panel, right click to see the context menu
  • Select "Open Module Settings"
  • Select the Module that is not shown in the tree view
  • Select the first tab labeled "Sources"
  • Press the "+ Add Content Root" link
  • Select the root folder where the files for this module are located

Once the folder has been scanned, press the OK button and you will see the Module appear

0
rogger2016 On

In Intellij, Right click on your parent pom file and click add as maven project

1
Komiljon Aliyev On

Right click on pom.xml -> Maven -> Reload Project

0
Gabe Clark On

For me, I must've deleted my .iml file somehow. Files with .iml contain configuration for your modules. The problem was that my project module was not being loaded without it. I'm using gradle, syncing my project with gradle regenerated whichever *.iml was necessary to build. Here is a post that provides a succinct explanation. IntelliJ IDE | .iml File lost or deleted Also - I know this issue is probably long gone and out of his head but for whoever may come across this issue, the above was the solution for me.

0
linjiejun On

Check if the FACETS panel is blank enter image description here

If it's blank .Then click the "+" button to add one.

For me .I need a android facet. enter image description here

For details.go to this link

Hope this is work for you.

0
James Oravec On

I had a similar issue. Other answers did not solve the problem for me.

I ended up uninstalling IntelliJ, then installing a new copy. When prompted to import previous settings, I selected the option of not to import, then set up IntelliJ from scratch. After re-install/re-setup, I was able to open my project folder and all of the modules showed like before. Some how my IntelliJ got fubared, my guess is that it happened when I updated it last week.