forked from cline/cline
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.Clear and approved. Available for contributors to pick up.enhancementNew feature or requestNew feature or request
Description
Type
Enhancement
Problem / Value
The code indexer always follows .gitignore and has no way to include files that are intentionally excluded from version control (like generated code or nested project folders). This causes missing context for AI assistance and slows development when the AI can’t “see” the code you actually work with.
Context
Affects developers who:
- Generate code (API clients, type defs, build outputs)
- Use meta-repos with nested repositories
- Maintain monorepos with selectively ignored packages
- Keep large generated docs/configs out of Git
Today these paths are skipped entirely during indexing, so AI can’t reference their types, helpers, or APIs.
Desired behavior (conceptual):
- Provide a simple configuration to include specific paths in indexing even if they are gitignored.
- This applies only to code indexing and does not change Git behavior or repository cleanliness.
Constraints/Preferences
- Opt-in and backward compatible (default behavior unchanged)
- Does not modify .git behavior or tracked files
- Lightweight to configure (patterns similar to .gitignore)
- Safe by default; scoped to the current workspace
Metadata
Metadata
Assignees
Labels
Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.Clear and approved. Available for contributors to pick up.enhancementNew feature or requestNew feature or request
Type
Projects
Status
Issue [Unassigned]