.contextignore file not working

I have placed a .contextignore file next to my .xcworkspace file, it's contents look like this:

CHANGELOG.md
*.generated.swift
*.mockingbird.swift

However I'm still getting files that match these globs in my project context requests when using Coding Intelligence with a 3rd party provider (Gemini)

What am I doing wrong?

Think I have fixed it. Turns out it needs to be placed at the top level of your git repo, not next to the Xcode project or workspace.

My workspace was in a sub-directory as it is part of a larger repository.

.contextignore file not working
 
 
Q