[FEATURE]: Give an option to index files that are in .gitignore
Author: elio42Created Aug 21, 2026Updated Sep 29, 2026
Labelsdiscussion
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
There are cases where I want the indexing to include directories and/or files which are not tracked by source control with the use of a .gitignore.
In my case specifically, I am also using vs-code and kilo-code for writing. For this purpose I have a folder with writing context that I would like indexed, but I don't want to upload this folder to git.
To address this, I would suggest to implement a sort of .kiloinclude file in one of the two ways (whichever is easier):
.kiloincludeat the root of the project which enables specifying folders to be included despite presence in any.gitignore- Potentially there may be some advantage to requiring the
.kiloincludeas a sibling of the relevant.gitignore. When the.gitignoreresponsible for ignoring the content is not at the project root the.kiloincludewould then be in the same place next to the relevant.gitignore
Source: Kilo-Org/kilocode