I have an issue with IntelliJ. It doesn\'t show any folders in my project view on the left. My setting is \"View As: Project\" How can I manage it so that the folders and p
I have deleted the .idea folder. Closed ItelliJ and restarted to open the same project.
It asked to add the content root. That worked for me.
I encountered this problem when the .idea folder was accidentally added to SVN version control. When I took an update --- blooey! I subsequently removed the .idea folder from version control.
I tried all the solutions above, nothing worked.
Java-Maven project
My problem: In my case i had java-maven project. And the problem was that Idea by default uses it's bundled maven for projects(or anyone you trying to open). I noticed that bundled maven keeps downloading dependencies forever, i.e you never see your sources folder.
Solution:
So to configure that, one needs to configure Idea to use maven(mvn) which is installed on the machine for all projects by default.
To do that, in the beginning when Idea still did not open any projects...there is a configure button. There chose build tools. Then maven, there you will see dropdown list where you can choose local maven.
In short: Configure/Build Tools/Maven/DropdownMenu
(My OS: linux branch)
Hope that helps
I had this issue as well. It is something do with .idea just delete it and restart IntelliJ
I went to File -> Project Structure -> Modules clicked on + and then import module found my root folder and selected it.
It worked.
For IntelliJ 14
As I had the same issue and none of the above worked for me, this is what I did! I know it is a grumpy solution but at least it finally worked! I am not sure why only this method worked. It should be some weird cache in my PC?
.idea
folder from my projectdemo-project
to demo-project-temp
demo-project
demo-project-temp
. Don't forget to also move the hidden filesdemo-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