Prevent IntelliJ from adding iml files

前端 未结 7 1020
盖世英雄少女心
盖世英雄少女心 2021-01-01 09:39

I\'m working with Maven pom files, and I don\'t wish to source control iml files. When I open a project, IntelliJ seems to add some of the iml files it creates to the SVN so

7条回答
  •  一个人的身影
    2021-01-01 10:00

    In case somebody else stumbles onto this issue, the best luck I've had is
    Settings > Version Control > Ignored Files
    Add "Ignore all Files Matching"s for:
    *.idea
    *.iml

    Not sure which version of IDEA rolled out this functionality, and this question is somewhat old, so it may be moot. Just hope it helps somebody else out who landed here from Google as I did.

提交回复
热议问题