Skip to content

aide.ignorePatterns

此配置允许你自定义文件排除规则。支持 glob 规则。

  • 默认值:

    json
    {
      "aide.ignorePatterns": [
        "**/node_modules/**",
        "**/.git/**",
        "**/__pycache__/**",
        "**/.Python/**",
        "**/.DS_Store/**",
        "**/.cache/**",
        "**/.next/**",
        "**/.nuxt/**",
        "**/.out/**",
        "**/dist/**",
        "**/.serverless/**",
        "**/.parcel-cache/**"
      ]
    }
  • 使用示例:

    例如,要从 AI 提示中排除 node_modules.gitdistbuild 文件夹,可以更新设置如下:

    json
    {
      "aide.ignorePatterns": [
        "**/node_modules/**",
        "**/.git/**",
        "**/dist/**",
        "**/build/**"
      ]
    }

基于 MIT 许可发布