[Feature Request] `.copilotignore` support
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- git
調査の方向性
実装ファイル、テスト、エントリーポイントは指定されていません。まず、SDK がプロジェクトファイルをエージェントのコンテキストとして提供し、ファイル編集を可能にする仕組みをたどって確認し、次に要求された動作を .gitignore のセマンティクスと比較してください。ドキュメント化された ignore ファイル形式によって、一致するファイルがコンテキストから除外され、エージェントによる変更から保護され、両方の動作がカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Note: I'm not 100% sure this is the right repo for this request — please feel free to redirect if needed.
Summary
It would be useful to have a way to tell the agent which files and folders it should ignore — both as a knowledge source and as targets for modification. Something similar to how .gitignore works, maybe called .copilotignore.
Motivation
In a typical project, there are often files that exist for process/tooling reasons, archived versions, duplicates, or backups that aren't relevant to the active codebase. Right now, the agent picks these up as context, which can lead to:
- Confusion from stale or duplicate content influencing suggestions
- Unintended edits to files that should be left alone
- Noise in context that dilutes the quality of responses
Proposed Solution
A .copilotignore file (or similar) at the project root that follows the same syntax as .gitignore. Any file or folder listed would be:
- Excluded from being indexed or used as context by the agent
- Protected from being modified by the agent
Why This Matters
This would give developers more control over what the agent "sees" and touches, making it more predictable and easier to use in messy real-world projects.
Happy to discuss or provide more context if helpful. Thanks!
- 主要言語
- Java
- スター
- 10.5k
- フォーク
- 1.5k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 131
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-sdk のほかの issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/copilot-sdk#2709 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
github/copilot-sdk#2673 ·
-
bug testing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/copilot-sdk#2628 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/copilot-sdk#2627 · コメント 1 件 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
github/copilot-sdk#2493 ·
github/copilot-sdk の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
elastic/gradle-plugins#157 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cryptomator/hub#497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
johanhaleby/occurrent#1120 ·