github / github/copilot-cli

Publish official JSON Schema for settings.json

未關閉
#4,641 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

triage
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

Describe the feature or problem you'd like to solve

publish an official JSON Schema for ~/.copilot/settings.json

Proposed solution

Please publish an official JSON Schema for ~/.copilot/settings.json.

The file has a growing number of settings, but editors currently can't provide reliable autocomplete, descriptions, or validation (although acknowledging this is configurable via the CLI itself under /config /settings , it would just additional quality of life enhancement to have schema available if prefer to edit inline the settings.json directly for some key/value validation)
Similar tools, including Claude Code, publish schemas for their settings files, which makes configuration much easier to discover and edit correctly.

Proposed solution:
Provide a maintained JSON Schema for ~/.copilot/settings.json, ideally available through SchemaStore.

Example prompts or workflows

No response

Additional context

No response

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,盤點 CLI 的 /config 和 /settings 命令所公開的設定,然後將其與 ~/.copilot/settings.json 設定進行比較。當一個受到維護的官方 JSON Schema 提供設定描述、自動完成和驗證,並考慮透過 SchemaStore 發佈時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

領域
cli, tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。