Prevent IntelliJ from adding iml files

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

    You can also choose to not have your .iml file in a versionned directory.

    When you create the module, you can select the module file location. alt text

    Here my iml file will be in /ModuleName.iml but the content will by in /myRoot/

提交回复
热议问题