Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ does not show project folders

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 packages are shown again? I don't have any clue because I didn't change any options!

I'm using IntelliJ 10.0.3. I am working on a Maven Lift Project.

like image 825
Alex Avatar asked Apr 28 '11 09:04

Alex


People also ask

How do I show project Explorer in IntelliJ?

To open the tool window again (and restore the associated features), use the main menu: View | Tool Windows | <Window Name> or press Alt+1 . Hide the tool window. This command opens the description of the Project tool window in the IntelliJ IDEA online help.


2 Answers

So after asking another question, someone helped me figure out that under File > Project Structure > Modules, there's supposed to be stuff there. If it's empty (says "Nothing to show"), do the following:

  1. In File > Project Structure > Modules, click the "+" button,
  2. Press Enter (because weirdly it won't let me click on "New Module") step 2
  3. In the window that pops up, click on the "..." next button which takes you to the Content root. Find your root folder and select it step 3 part 1 step 3
  4. Click the "ok" button
  5. Ignore any warning that says the name is already in use
like image 190
B T Avatar answered Sep 25 '22 17:09

B T


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.

like image 24
isuPatches Avatar answered Sep 23 '22 17:09

isuPatches