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 just had the same problem with an SBT project in IntelliJ 2016.2 after removing a globally installed IntelliJ and re-installing in my own home folder (Linux). No files or folders were shown in Project View anymore.
The Project Structure view wouldn't even open, and renaming the .idea
folder to .idea.bak
and re-importing the project didn't make any difference.
However, what fixed it for me was to reboot Linux. Afterwards it worked again, even with the original .idea
folder. Seems this "fix" is not only restricted to the Windows world.
Check out answer at
Can't see project folders in IntelliJ IDEA
It might be because the project didn't have any modules defined. Try adding existing source code by hitting File > New > Module from Existing Sources and select the parent directory of the project for source code
I had the problem after an upgrade from intellij 15 (v143) to 2016.3 (v163). I also had an intermittent error on startup about a "Load error: undefined path variables" with a cryptic variable name.
After countless attempts at most solutions presented here (reimport the project, invalidate caches & restart, checks of project structure and paths...), the only thing that worked was to completely reinstall Intellij (removing the ~/.idea* ~/.IntellijIdea*) and selecting "No" at the question "would you like to migrate previous settings".
This finally worked.
I had to quit Intellij and remove the .idea
folder (I stashed it first, just in case). I then re-opened the project and that worked for me.
Don't forget to save your configuration (e.g. debug / run configurations) before that, because they will also be deleted.
Try to re-import the Maven project. Also make sure that the project directory name is not excluded in Settings | File Types | Ignore Files and Folders
.
Even after 5 years, and having some experience with idea, I still have this problem all the times. Here is the simplest solution.
open project
instead of import project
And then, open conf file for your framework, like pom.xml
or build.sbt
or build.gradle
etc and it will automatically prompts to import project
and when you click and when it finishes, your project is mostly setup correct.