From 0779697da6caeae09b67a146013612a34f369b74 Mon Sep 17 00:00:00 2001 From: Billy Biggs Date: Sat, 21 Jun 2025 18:23:35 -0700 Subject: Add setting enableRecursiveFileSearch to control @-file completion (#1290) --- docs/cli/configuration.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/cli') diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md index e3c379b0..b4dd2e95 100644 --- a/docs/cli/configuration.md +++ b/docs/cli/configuration.md @@ -56,13 +56,15 @@ In addition to a project settings file, a project's `.gemini` directory can cont - **`fileFiltering`** (object): - **Description:** Controls git-aware file filtering behavior for @ commands and file discovery tools. - - **Default:** `"respectGitIgnore": true` + - **Default:** `"respectGitIgnore": true, "enableRecursiveFileSearch": true` - **Properties:** - **`respectGitIgnore`** (boolean): Whether to respect .gitignore patterns when discovering files. When set to `true`, git-ignored files (like `node_modules/`, `dist/`, `.env`) are automatically excluded from @ commands and file listing operations. + - **`enableRecursiveFileSearch`** (boolean): Whether to enable searching recursively for filenames under the current tree when completing @ prefixes in the prompt. - **Example:** ```json "fileFiltering": { - "respectGitIgnore": true + "respectGitIgnore": true, + "enableRecursiveFileSearch": false } ``` -- cgit v1.2.3