-
Notifications
You must be signed in to change notification settings - Fork 34k
Description
We have been using agent mode it works like a charm and we loved it.
We work on large set of codebase with Monorepos with 100s of packages with different folder structures and code patterns used.
There are different dependencies or approach used in the different packages, few use Redux while uses Zustand.
- Packages/packageA - uses redux
- Packages/packageB - uses zustand
As a feature team in the large monorepo codebase we're interested in only specific set of packages or folder patterns referenced to the Agent mode or any other mode which takes context of only few folders.
With current Search tools and other tools by default search via file system and goes through the entire codebase changing unnecessary files even after writing strict instructions.
Few things we have tried but couldn't got around :
-
Using specific instructions/prompts
Even after pointing out to specific instruction to the packages references only to include or exclude it's doesn't consider it and goes to other packages to change the code. -
Using the vs code settings to exclude the files
Even after exclude the packages and folders or using regex based exclusion agent mode still considering those files. -
Using scope workspace
Even after creating scope workspaces with minimal level of packages, the Agent mode still goes on referencing the non existent folders in workspace.
Request :
Ability to add exclusion list in the vs code settings which ai agents ignore for their context.
Or a inclusion of exclusion based files such as :
- .aiignore
- .copilotignore
which can take in regex patterns to ignore the files for the context.
I hope this gives idea about the feature request and how helpful it will for big monorepo or codebases. I am pretty sure other teams also might be facing this issues and can be game changer to implement this.
This bring ability to reduce the cost as well with unnecessary search required by pre-work by devs about their packages.
Thanks in advanced.