Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Path-specific custom instructions not working in Agent mode

オープン
#637 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

reviewed

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

  1. Create a new project
  2. In Github Copilot settings, go to Advanced -> Under Custom Instructions -> Create
  3. Enter a file name
  4. In the prompted file, under the applyTo field, type something like '**/*.swift'
  5. Add some test instructions
  6. Open chat in a swift file, select agent mode.
  7. See the agent not considering the instructions given at step 5.
主要言語
Swift
スター
6.3k
フォーク
2k
平均マージ
3日 21時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/CopilotForXcode のほかの issue

github/CopilotForXcode の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。