How to ignore folders from Context->Current_Repository?

Hello,
I would like to exclude specific folder from cody context while I am using Cody Chat on VSCode. When I add Current Repository to add context before my prompt, it tries to include every file that are present in my repository, which includes unnecessary folders triggering context limit.
Is there any way to exclude these folders just like how its done on .gitignore?

2 Likes

Hey @Silex

Cody has currently no file and folder exclusion like gitignore mechanism. If you like to have this feature, you can open up a feature request here and the product manager will have a look at it.

Thank you.

So the codyignore file (previously documented here (archived)) has been removed fully now?

(or am I misunderstanding the OPs question?)

Exactly, the team decided to remove this feature and in exchange for the ContextFilter feature for enterprise users.

2 Likes

Wait so, .cody ignore file is now useless?
I have huge data files that must not be indexed and they would add a lot of unnecessary noise to the AI, and clog the context window.

It just can’t be that the Cody team decided to randomly remove the ignoring feature. Nobody from the PRO and Free tier would have any benefit from this?
Are there active plans to bring it back?

Hey @dule22

on the latest Q&A session on Friday 6th December, the team has considered to bring back the cody ignore feature.

Sorry for the inconvenience.

1 Like

@PriNova Great news! Thanks for the update @PriNova !