-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
When using Agent mode, the applyTo filter that can be setup for Path-specific custom copilot instructions doesn't work.
As far as I can tell, the only applyTo value that worked for me was **.
This doesn't seem to work, for example:
---
applyTo: '**/*.swift'
---
Instruction here
From what I can see, Path-specific custom instructions don't even appear in the documentation, under the Xcode tab, but they appear as a feature in the app.
Versions
- Copilot for Xcode: 0.45.0
- Xcode: 26.1
- macOS: 26.1
Steps to reproduce
- Create a new project
- In Github Copilot settings, go to Advanced -> Under Custom Instructions -> Create
- Enter a file name
- In the prompted file, under the
applyTofield, type something like'**/*.swift' - Add some test instructions
- Open chat in a
swiftfile, select agent mode. - See the agent not considering the instructions given at step 5.
Metadata
Metadata
Assignees
Labels
No labels