Skip to content

Specify directory exclusion pattern in Filesystem config file #2308

Open
@dgor82

Description

@dgor82

In my ant.dir.ant.anthropic.filesystem.json config file, in additon to 'allowed_directories' I'd like to be able to specify 'exclusion_patterns'.

In my case, my allowed_directory is a .NET solution folder, and I'd like to exclude all '/obj' and '/bin' sub directories in order to exclude all the build artefacts that .NET generates. This way, Claude during RAG can focus only on actual source code files. I have seen it search through hundreds of artefacts inside /obj/ folders which only confuses Claude.

I'm sure I'm not the only developer who needs this?

Thank you for considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions