Copilot CLI:/settings コマンドで設定を一元管理可能に
GitHub Copilot CLI が、テーマやストリーマーモードなどの散在する設定コマンドを統合した「/settings」スラッシュコマンドを導入し、ユーザーが GUI やワンライナーから統一的な画面で設定を管理できるようになった。
GitHub Copilot CLI には、設定のための統一されたスキーマ駆動型のホームが用意されました。新しい /settings スラッシュコマンドは、以前は設定ファイルを手動で編集する必要があった /theme、/streamer-mode、/experimental といった散在するコマンドやオプションを、単一の発見可能なインターフェースに統合しました。
1 つのコマンド、3 つの使い分け方
/settings は、ガイド付き UI を希望する場合も、クイックなワンライナーで実行したい場合も、copilot -p 呼び出し内でスクリプトによる変更を行いたい場合も機能します:
/settings は全画面のセクション別ダイアログを開き、すべてのユーザー設定を閲覧・編集できます。
/settings は値をインラインで設定します(例:/settings autoUpdate true、/settings sessionSync.level full)。
/settings reset は、特定の設定のデフォルト値を復元します。
キーは CLI の設定スキーマへのドット付きパスであり、タブ補完機能により利用可能なすべてのキーが、プロンプトのすぐ横に表示されます。これには、ブール型、列挙型、および列挙型または文字列のユニオンに対する説明と許可された値も含まれます。もうキー名やタイプを推測する必要はありません。
各設定に合わせたダイアログ
引数なしで /settings を開くと、検索可能な Alt スクリーン(代替画面)のダイアログが表示され、各設定タイプ用に構築されたエディターが用意されています:
ブール型のトグル、列挙型のピッカー、および列挙型または文字列のユニオン用ピッカー。
自由形式の文字列と数値エディター(文章用のマルチラインエディターを含む)。
文字列配列、数値配列、および汎用レコード専用のエディター。
複雑な JSON コンテナに対する $EDITOR のフォールバック機能。設定ファイルは、新しい値の解析とスキーマ検証に成功した場合のみ書き込まれるため、タイプミスが次のセッションを静かに破損させることはありません。
/ を押して検索し、Ctrl+R でフォーカスされた設定をデフォルト値にリセットし、Ctrl+E でアクティブな設定ファイルをエディタで開きます。colorMode や streamerMode のように副作用を持つ設定変更は、インラインで切り替えた場合でも、リセットした場合でも、ファイル自体を直接編集した場合でも、保存した瞬間に即座に適用されます。
特定の設定にすぐに移動したいですか?/settings と /settings reset は、それぞれそのキーにフォーカスしたダイアログを開きます。
アップデートを取得する
ターミナルで copilot update を実行して GitHub Copilot CLI を更新し、その後 /settings を実行して試してみてください。フィードバックは CLI セッション内の /feedback コマンドで共有するか、公開リポジトリで issue を作成してください。
Copilot CLI: /settings で一箇所で全てを構成する という記事は、最初に The GitHub Blog に掲載されました。
原文を表示
GitHub Copilot CLI now has a unified, schema-driven home for configuration. The new /settings slash command combines the scattered commands like /theme, /streamer-mode, and /experimental with options that previously required manually editing your settings file into a single, discoverable surface.
One command, three ways to use it
/settings works whether you want a guided UI, a quick one-liner, or a scripted change in a copilot -p invocation:
/settings opens a full-screen, sectioned dialog where you can browse and edit every user setting.
/settings sets a value inline (e.g., /settings autoUpdate true, /settings sessionSync.level full).
/settings reset restores the default for a setting.
Keys are dotted paths into the CLI’s settings schema, and tab completion surfaces every available key — along with the description and the allowed values for booleans, enums, and enum-or-string unions — right next to your prompt. No more guessing key names or types.
A dialog that fits each setting
Open /settings with no arguments and you get a searchable, alt-screen dialog with editors built for each setting type:
Boolean toggles, enum pickers, and enum-or-string union pickers.
Free-form string and number editors, with a multi-line editor for prose.
Dedicated editors for string and number arrays and generic records.
A $EDITOR fallback for complex JSON containers. Your settings file is only written after the new value parses and passes schema validation, so a typo can’t silently break your next session.
Press / to search, Ctrl+R to reset the focused setting to its default, and Ctrl+E to open the active settings file in your editor. Setting changes that have side effects (like colorMode or streamerMode) apply live the moment you save, whether you toggled them inline, reset them, or edited the file directly.
Want to jump straight to a specific setting? /settings and /settings reset open the dialog focused on that key.
Get the update
Update GitHub Copilot CLI by running copilot update in your terminal, then run /settings to take it for a spin. Share feedback with the /feedback command in a CLI session, or open an issue in our public repository.
The post Copilot CLI: Configure everything from one place with /settings appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み