Roo-Code/packages
Roo Code d13e039c19 feat: add respectGitIgnore setting to control .gitignore filtering across all file listing
Adds a new `codebaseIndexRespectGitIgnore` setting (default: true) that controls
whether .gitignore patterns are respected when listing files. This affects:

- Code indexer scanner (original issue scope)
- list_files tool (AI task file listings)
- Environment details (workspace file context)
- WorkspaceTracker (workspace file tracking)

When disabled (false), only .rooignore is used for filtering, allowing
gitignored files (e.g. external API headers) to be discovered and indexed.

Changes:
- packages/types: Add codebaseIndexRespectGitIgnore to schema and types
- src/services/glob/list-files.ts: Add respectGitIgnore parameter
  - Pass --no-ignore-vcs to ripgrep when false
  - Skip gitignore patterns in createIgnoreInstance when false
- src/services/code-index: Thread setting through manager, factory, scanner
- src/core: Thread setting through ListFilesTool, getEnvironmentDetails
- src/integrations/workspace: Thread setting through WorkspaceTracker
- webview-ui: Add toggle in CodeIndexPopover advanced settings
- i18n: Add English translations for new setting

Closes #11249
2026-02-06 08:55:11 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud refactor(read_file): Codex-inspired read_file refactor EXT-617 (#10981) 2026-01-29 15:16:32 -07:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core feat(cli): improve dev experience and roo provider API key support (#11203) 2026-02-04 16:17:29 -08:00
evals IPC fixes for task cancellation and queued messages (#11162) 2026-02-02 11:13:56 -08:00
ipc Better IPC error logging (#9727) 2025-12-01 15:02:34 -08:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types feat: add respectGitIgnore setting to control .gitignore filtering across all file listing 2026-02-06 08:55:11 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00