Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index arbitrary folders/files #2660

Open
2 tasks done
arcuru opened this issue Oct 24, 2024 · 1 comment
Open
2 tasks done

Index arbitrary folders/files #2660

arcuru opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
area:indexing Relates to embedding and indexing kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority

Comments

@arcuru
Copy link

arcuru commented Oct 24, 2024

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

Codebase is very useful for automatically finding context, but I want to be able to add arbitrary additional data to it. For example, I may have a separate repo for documentation and would like to include that for automatic local retrieval of relevant context, or have local notes on tasks/designs etc. Think analyzing your notes/todos/future plans for context as part of your codebase.

An additional folder makes sense as either indexed as part of the Codebase provider or into the Docs provider. It's easy to imagine local docs for either use case.

Solution

I'm not sure what makes the most sense for implementing. Either including some way to specify additional folders to Codebase index (e.g. .continueinclude file), or a way for the Docs provider to specify a local folder or a git repo, or both.

I workaround this today by taking advantage of how Continue doesn't respect the global .gitignore settings. So I globally ignore a .docs directory, and add any additional documentation in there.

@dosubot dosubot bot added area:indexing Relates to embedding and indexing kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority labels Oct 24, 2024
@RomneyDa
Copy link
Collaborator

RomneyDa commented Nov 1, 2024

Note, this issue #2739 would offer a workaround for it

by adding a folder e.g. "indexingExtras" to your repo, gitignoring "indexingExtras" and .continueignoring "!indexingExtras"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:indexing Relates to embedding and indexing kind:enhancement Indicates a new feature request, imrovement, or extension priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

3 participants