Path-specific custom instructions not working in Agent mode
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- swift
調査の方向性
Copilot for Xcode 0.45.0、Xcode 26.1、および applyTo が '/*.swift' に設定された instruction を使用して、新しいプロジェクトで問題を再現します。Agent モードの動作を applyTo '' の場合と比較し、その後、Xcode のカスタム instruction に関するドキュメントでパス固有の instruction が扱われているか確認します。完了条件は、Agent モードで Swift ファイルのフィルターが適用され、ドキュメントの内容がサポートされている動作と一致することです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Swift
- スター
- 6.3k
- フォーク
- 2k
- 平均マージ
- 3日 21時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/CopilotForXcode のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
github/CopilotForXcode#181 · リアクション 2 件 ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
github/CopilotForXcode#945 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
github/CopilotForXcode#943 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
github/CopilotForXcode#936 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
github/CopilotForXcode#934 ·
github/CopilotForXcode の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleapis/google-cloud-swift#1036 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
wultra/mtoken-sdk-ios#253 ·
-
area:dictation documentation P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
uttrflow/uttrflow-swift#1180 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100