continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.25k stars 1.66k forks source link

.continueignore should override .gitignore #2739

Open RomneyDa opened 2 weeks ago

RomneyDa commented 2 weeks ago

Validations

Problem

Should be able to index ignored files would also allow be a path to allow indexing external folders that people have been requesting https://discord.com/channels/1108621136150929458/1301030122824138805

Solution

No response

PRANJALRANA11 commented 2 weeks ago

@RomneyDa /assign

RomneyDa commented 2 weeks ago

@PRANJALRANA11 assigned, thanks. Continue's take on the issue:

The key is to apply the patterns from .gitignore first, followed by patterns from .continueignore

So approach might be to look through the walkdir and make sure that both global and all local continueignores are applied after any gitignores

PRANJALRANA11 commented 2 weeks ago

@RomneyDa can't get it could you tell what's the problem and what could be the possible solution for that

PRANJALRANA11 commented 1 week ago

@RomneyDa yep done