Every once in a while, I open an old project and I can\'t see any of the folders in the intelliJ project viewer. I can see all the files at the root.. but no folders. Yes I
Check your idea.log -- it may have some details explaining why or what is happening (Help | Reveal log in Explorer). Possibly one of the config files got corrupted.
You can always backup and delete .idea subfolder (project settings) and re-create project from scratch. When it's wroking again (after basic configuration) you may copy some of the files from that folder back to recover some of your settings (if there were many).
All the project-specific settings for a project opened through Intellij IDE
are stored in the .idea folder.
The .idea folder (hidden on OS X) in the solution root contains IntelliJ’s project-specific settings files. These include per-project details such as VCS mapping and run and debug configurations, as well as per-user details, such as currently open files, navigation history and currently selected configuration.
So, if you are not able to see the project file structure in your Intellij IDE, just delete the .idea
folder,
rm -rf .idea
and reload the project, then after reload you'll be easily able to get your project structure displayed.