Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA. Hide .iml files

People also ask

What is .IML file in IntelliJ?

A module file (the . iml file) is used for keeping module configuration. Modules allow you to combine several technologies and frameworks in one application. In IntelliJ IDEA, you can create several modules for a project and each of them can be responsible for its own framework.

Can we delete .IML file?

In case you delete a module IML file, you can regenerate the file by rebuilding your project, reimporting your project, or opening and closing IDE. IML file is referenced and generated within IDEs. To open or edit . iml files, you need appropriate software.

Where can I find .IML file in IntelliJ?

iml files have nothing to do with your code/Java. It is a hidden file created by Intellij on the root folder of your project which contains your module information. This is the reason you should not version this kind of file, afterall other developers using a different IDE won't need them.


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/


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!


  • Go to File -> Settings -> File Types
  • Append *.iml to the list below "Ignore files and folders" (located at the bottom of the dialog)

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)