mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
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 |
||
|---|---|---|
| .. | ||
| npm | ||
| scripts | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||