Skip to content

"context.fileFiltering.customIgnoreFilePaths" setting breaks file completion when using @ #19868

Description

@victornpb

What happened?

Text completion for files and directories no longer work when typing @ after having context.fileFiltering.customIgnoreFilePaths setting added to settings.json

Image

Related to #16487 ?

What did you expect to happen?

Path completion to work after typing @

Image

(works after removing fileFiltering from setting)

Removing this fixes the issue:

 "context": {
     "fileFiltering": {
       "customIgnoreFilePaths": [
         "node_modules/"

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ About Gemini CLI                                                                                   │
│                                                                                                    │
│ CLI Version                       0.29.5                                                           │
│ Git Commit                        2ef872e73                                                         │
│ Model                             Auto (Gemini 3)                                                  │
│ Sandbox                           no sandbox                                                       │
│ OS                                darwin                                                           │
│ Auth Method                       Logged in with Google (REDACTED @gmail.com)                      │
│ Tier                              Gemini Code Assist in Google One AI Pro

Login information

No response

Anything else we need to know?

Here is my full settings

settings.json
{
  "security": {
    "auth": {
      "selectedType": "oauth-personal"
    },
    "enablePermanentToolApproval": true
  },
  "ui": {
    "showStatusInTitle": true,
    "showModelInfoInChat": true,
    "inlineThinkingMode": "full",
    "showMemoryUsage": true,
    "loadingPhrases": "off",
    "showCitations": true,
    "accessibility": {
      "enableLoadingPhrases": false
    }
  },
  "general": {
    "enableNotifications": true,
    "previewFeatures": true,
    "preferredEditor": "vscode",
    "vimMode": false,
    "checkpointing": {
      "enabled": true
    }
  },
  "context": {
    "fileName": ["GEMINI.md", "AGENTS.md"],
    "fileFiltering": {
      "respectGitIgnore": false,
      "customIgnoreFilePaths": [
        "node_modules/",
        "temp/",
        "cache/"
      ]
    }
  },
  "skills": {
    "enabled": true
  },
  "experimental": {
    "modelSteering": true
  },
  "privacy": {
    "usageStatisticsEnabled": false
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalityeffort/small1 day or less: trivial logic, UI adjustments, docshelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!kind/bugpriority/p2Important but can be addressed in a future release.status/bot-triagedtype/bug

    Type

    Projects

    Status
    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions