xml .gitignore为JetBrains IntelliJ IDEA设置样本

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml .gitignore为JetBrains IntelliJ IDEA设置样本相关的知识,希望对你有一定的参考价值。

# ignore all idea settings
.idea/*
*.iws
*.iml
*.ipr

# gradle project minimum
!.idea/gradle.xml
!.idea/misc.xml

# enable plugin dependencies
!.idea/externalDependencies.xml

# enable codestyle, with save actions
!.idea/codeStyles
!.idea/saveactions_settting.xml

# enable inspection rules
!.idea/inspectionProfiles

# enable annotation processor for lombok plugin
!.idea/compiler.xml

# enable checkstyle ide
!.idea/checkstyle-idea.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="CheckStyle-IDEA">
    <option name="configuration">
      <map>
        <entry key="active-configuration" value="PROJECT_RELATIVE:$PROJECT_DIR$/config/checkstyle/checkstyle.xml:Project Checks" />
        <entry key="checkstyle-version" value="8.12" />
        <entry key="copy-libs" value="false" />
        <entry key="location-0" value="BUNDLED:(bundled):Sun Checks" />
        <entry key="location-1" value="BUNDLED:(bundled):Google Checks" />
        <entry key="location-2" value="PROJECT_RELATIVE:$PROJECT_DIR$/config/checkstyle/checkstyle.xml:Project Checks" />
        <entry key="scan-before-checkin" value="false" />
        <entry key="scanscope" value="JavaOnly" />
        <entry key="suppress-errors" value="false" />
        <entry key="thirdparty-classpath" value="$PROJECT_DIR$/buildSrc/out/production/classes/" />
      </map>
    </option>
  </component>
</project>

以上是关于xml .gitignore为JetBrains IntelliJ IDEA设置样本的主要内容,如果未能解决你的问题,请参考以下文章

我应该将 .idea/assetWizardSettings.xml 添加到 gitignore 吗?

我如何决定在 .gitignore 中添加 .idea/jarRepositories.xml

IDEA构建Maven项目生成的文件说明(.mvnmvnwmvnw.cmd.gitignore.iml.ideapom.xml)

.gitignore常用配置

git 之gitignore配置

xml .gitignore将阻止未跟踪文件被添加(没有添加-f)到git跟踪的文件集,但git将继续