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
You don't have to quit Intellij completely to make this work. Simply close the project that you have open. (You can open any another project to avoid closing it completely)
Go to the directory where you have your project installed and delete the ".idea" folder.
Reopen the Project.
That should fix it. It worked for me in May 2018.
Project Structure => Modules => Select your module => Paths => Make sure "Inherit project compile output path" is selected
I am a new user of IntelliJ IDEA 2016.2. I opened an existing project when I first ran the program and had the same issue whereby it only showed files in the root directory in the 1. Project panel, but not the project folders (expandable tree-like structure).
Initially, I tried going to Project Settings > Modules, where no modules were shown listed. I clicked (+), and tried to select my root folder, but it wouldn't select the folder.
So I then solved it with these steps instead:
rm -rf .idea
)UPDATE 2nd Sept 2017: If you've added a Module SDK and it added a .iml
file within a subdirectory of the root of your project that causes it to load the module subdirectory, then it may be necessary for you to modify that .iml
file by appending /..
as shown below.
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/..">
I have that little while earlier and solved it by following the steps provided below:
a. Right-click on the `External Libraries` and select the `Load/ Unload modules` button
b. If you see the modules are already loaded, perform the load/unload again.
After I have done that, I see the project again in the top of the External Libraries
section. I use Linux machine, BTW
If you have a gradle module with the same name as your projects root folder, the gradle import will replace your toplevel module configuration and change your view completely.
Make sure you have no gradle module with the same name as your root directory.
I have a nodeJs project and lost my folders after removing the /[project_name].iml file.
This restored the folders while preserving my other project settings:
Project Settings > Modules
+ Add Content Root