Prevent IntelliJ from adding iml files

前端 未结 7 877
盖世英雄少女心
盖世英雄少女心 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:20

    Elaborating on Colin Hebert answer. Yes, it is possible to move the iml file to another directory when importing from Maven. And this seem to be the only way to prevent this problem.

    Here the settings to use in import:

    enter image description here

    Since all important informations are keep in Maven itself it only takes a little time to reimport an existing modules. The gain truly is worth it.

    0 讨论(0)
提交回复
热议问题