Intellij IDEA. Hide .iml files
JavaIntellij IdeaJava Problem Overview
I use Intellij IDEA 12 and I want to hide .iml
files in Project view. How I can achieve this?
Java Solutions
Solution 1 - Java
Check “Ignored files and folders” in File Types settings:
> File | Settings | Editor | File Types for Windows and Linux > > IntelliJ IDEA | Preferences | Editor | File Types for OS X
Then add *.iml;*.idea;
in the text box in the bottom:
Solution 2 - Java
For Intellij IDEA 13 on OS X 10.9, do this:
- Go to
Intellij IDEA > Preferences
. - Scroll down to the
IDE Settings
section, go toFile Types
. - Add
*.iml
and.idea
to theIgnore files and folders
list box at the bottom of this window.
The project navigator will be much cleaner!
I hope it helps!
Solution 3 - Java
- Go to
File
->Settings
->File Types
- Append
*.iml
to the list below "Ignore files and folders" (located at the bottom of the dialog)
Solution 4 - Java
IntelliJ 14 and 15 on Mac OS X (they've changed the hierarchy again in 14):
- Go to
IntelliJ IDEA
->Preferences
->Editor
->File Types
- Append
*.iml
to the list below "Ignore files and folders" (located at the bottom of the dialog)
Solution 5 - Java
For IntelliJ 14 on Windows, go to File->Settings->Editor->File Types
. At the bottom, append ;.idea;*.iml
.
Solution 6 - Java
Instead of hiding the files excluding them like folders seemed to be the better way for me.
Go to File
> Project Structure...
> Settings
> Modules
At the bottom is a box where you can enter the file types:
Now you can use the projects "Show Options Menu" to hide and show them: