Intellij IDEA. Hide .iml files

JavaIntellij Idea

Java 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:

Hide Files and Folders in Intellij

http://blogs.jetbrains.com/idea/2011/04/intellij-idea-does-not-show-some-files-know-the-hiding-places/

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 to File Types.
  • Add *.iml and .idea to the Ignore 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:

enter image description here

Now you can use the projects "Show Options Menu" to hide and show them:

enter image description here

Solution 7 - Java

IntelliJ IDEA 2017.1.2 Ultimate on macOS Sierra 10.12.4

enter image description here

Solution 8 - Java

Go to File -> Settings -> File Types

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionWelcomeToView Question on Stackoverflow
Solution 1 - JavaVytautas NuobaraView Answer on Stackoverflow
Solution 2 - JavarbentoView Answer on Stackoverflow
Solution 3 - JavaPhilipp ClaßenView Answer on Stackoverflow
Solution 4 - JavaGeertView Answer on Stackoverflow
Solution 5 - JavaJonView Answer on Stackoverflow
Solution 6 - JavaNeonchenView Answer on Stackoverflow
Solution 7 - JavaJames GrahamView Answer on Stackoverflow
Solution 8 - JavaGtdDevView Answer on Stackoverflow