Hide ".idea" folder from the Project Explorer view
Answered
Hi!
Please sign in to leave a comment.
Under IDE settings, File Types, you can add the it to ignore section.
Hi Yury,
In Project tool window, select directory, right click and choose "Mark Directory As" --> "Excluded"
Alternatively: http://www.jetbrains.com/idea/webhelp/configuring-folders-within-a-content-root.html
Hi folks!
Thank you very much for your answers. I think I now understand what went wrong so that I was unable to find this obvious "Mark Directory As" --> "Excluded" menu.
I created my IDEA project from existing source code and selected the folder with the source code as a top level project folder. Somehow this way I was never able to find this menu. Now I think this is not how it is supposed to work with IDEA, because when I re-created the project with the source code in a subfolder ("src") of the project folder, I was indeed able to see this menu and successfully excluded the ".idea" folder.
Z.
Marking directories as excluded doesn't work. That was the obvious thing to try, moreover, 'out' is already marked as excluded, yet shows up.
Adding 'out' and '.idea' to the ignore section worked.
It's not under 'IDE settings' but 'Editor' nowadays.
@Mark
>Adding 'out' and '.idea' to the ignore section worked.
Please note that this setting affects ALL projects
>Marking directories as excluded doesn't work.
It works. Just by default Project View panel is configured to still show excluded folders (as they can still participate in other activities (e.g. Deployment) .. or you still may wish to open them for examination (e.g. log files; cached templates; compiled templates etc.))
Just configure Project View panel accordingly (using "gear" icon or by right clicking on tool window caption/title bar):
Also ... for .idea -- there is dedicated registry setting for it as well (it is enabled by default for me, in PhpStorm at very least)
The registry setting `projectView.hide.dot.idea` doesn't work for IntelliJ IDEA 2020.1.1 as I can still see the `.idea` folder in the Project view. Adding `.idea` to Settings -> Editor ->File Types -> Ignore file and folders did work though.
Please feel free to vote for this request in our tracker: https://youtrack.jetbrains.com/issue/IDEA-130039
Tested it (projectView.hide.dot.idea) on other jetbrains IDEs (e.g. pycharm), saw it was enabled on all other IDEs AND Intellij. Played around with the registry and yea, you can hide/show the folder in the other IDEs, but on intellij it is simply a dead button that does not work.
Please try 2020.3 EAP (https://www.jetbrains.com/idea/nextversion/), https://youtrack.jetbrains.com/issue/IDEA-130039 fix should be availaible there.
> Please try 2020.3 EAP (https://www.jetbrains.com/idea/nextversion/), https://youtrack.jetbrains.com/issue/IDEA-130039 fix should be availaible there.
Did anyone else test it? I opened my IDEA projects with the EAP, and got the same issue. Checked the IDEA registry and the flag was correctly set.
@F Hofmann try uncheking "Show excluded folders", it works for me.
the registry setting in following EAP
IntelliJ IDEA 2022.3 EAP (Ultimate Edition)
Build #IU-223.4884.69, built on September 22, 2022
is not working, again.