Intellij IDEA. Hide .iml files

2019-01-21 15:34发布

I use Intellij IDEA 12 and I want to hide .iml files in Project view. How I can achieve this?

6条回答
Melony?
2楼-- · 2019-01-21 15:57

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/

查看更多
我只想做你的唯一
3楼-- · 2019-01-21 16:06

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!

查看更多
萌系小妹纸
4楼-- · 2019-01-21 16:06
  • Go to File -> Settings -> File Types
  • Append *.iml to the list below "Ignore files and folders" (located at the bottom of the dialog)
查看更多
霸刀☆藐视天下
5楼-- · 2019-01-21 16:10

For IntelliJ 14 on Windows, go to File->Settings->Editor->File Types. At the bottom, append ;.idea;*.iml.

查看更多
来,给爷笑一个
6楼-- · 2019-01-21 16:14

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)
查看更多
相关推荐>>
7楼-- · 2019-01-21 16:22

IntelliJ IDEA 2017.1.2 Ultimate on macOS Sierra 10.12.4

enter image description here

查看更多
登录 后发表回答