I've come across this problem a few times myself. What happened is that intellij lost the module in my project settings. Here's my steps to fix it:
File -> Project Structure -> Click on modules (notice empty list) -> Click on '+' -> Click on import module -> Find existing myProj.iml
Answer from SnellyBigoda on Stack OverflowI've come across this problem a few times myself. What happened is that intellij lost the module in my project settings. Here's my steps to fix it:
File -> Project Structure -> Click on modules (notice empty list) -> Click on '+' -> Click on import module -> Find existing myProj.iml
If you are working on a software development project where you are using Maven, Gradle, Flash Builder etc., the below mentioned steps should restore the project structure:
- Ctrl+Alt+Shift+S (or) File>>Project Structure
- Select 'Modules' in 'Project Settings'
- Alt+Insert (or) Select '+' to add a new module
- Select 'Import Module'
- Select the folder you want to import the module from(Generally the parent folder)
- Select 'Import module from external model' and the corresponding external model
This resets your project structure.
How to see java files in project tree in intellij idea? - Stack Overflow
Not showing Project Structure in IntelliJ IDEA - Stack Overflow
Is there a way the prevent the folders from collapsing in the project view? It is very annoying to have to browse down through the hierarchy all the time.
Intellij slow in updating sbt dependencies
Videos
Under the intelliJ IDEA 14.0.3 community edition, upon launch I don't see my project folders. I found by going into
View > Tool Windows > Project
seems to show the folder structure.. Same as ALT + 1
Below the menubar , on the left there is a dropdown which in your case may be showing "packages" now (because you can see the packages). From the same dropdown, select "Project Files" below "SCOPES"