ZedでGitHub Copilotのコード補完とCopilot Chatを使う設定

ZedのWindows版がリリースされたのでインストールしました。
「ZedでGitHub Copilotを使える」という情報はあっても、標準のZed Edit Predictionの代わりにGitHub Copilotのコード補完を使う具体的な設定の解説記事が見当たらなかったため、まとめました。
ZedでGitHub Copilotのコード補完・GitHub Copilot Chatの両方を使う方法と、GitHub Copilot Chatのみを使う方法にわけて解説します。
目次
ZedでGitHub Copilotのコード補完とGitHub Copilot Chatを使う
ZedでGitHub Copilotのコード補完とGitHub Copilot Chatの両方を使えるようにするには、次の手順で設定します。
Ctrl + Shift + Pでコマンドパレットを開き、「settings」と入力して[zed: open settings file]を実行します
![Zedのコマンドパレットが中央に表示されており、テキストボックスに[settings]と入力されている。表示されているいくつかの項目のうち、[zed: open settings file]がハイライトされている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-open-settings-file.png&w=3840&q=75)
settings.jsonが開くので、次の内容を追加します。settings.json {// ...既存の設定"edit_predictions": {"provider": "copilot"}}Zedの画面右下にGitHub Copilotのアイコンが表示されるため、これをクリックして、[Sign In to Copilot]を選択します

画面に表示されるログインコードをコピーして、[Connect to GitHub]をクリックします
![Use GitHub Copilot in Zed. Using Copilot requires an active subscription on GitHub. Paste this code into GitHub after clicking the button below. [Connect to GitHub] [Cancel]](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-github-copilot-login-dialog.png&w=3840&q=75)
ブラウザーでGitHubアカウントを接続してZedに戻ると、GitHub Copilotのコード補完とGitHub Copilot Chatが使えるようになっています
![Copilot Enabled! You can update your settings or sign out from the Copilot menu in the status bar. [Done]](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-copilot-enabled-dialog.png&w=3840&q=75)
ZedでGitHub Copilot Chatのみを使う
GitHub Copilotのコード補完が不要でGitHub Copilot Chatのみを利用したい場合は、次の手順で設定できます。
画面右下の[Agent Panel]ボタンをクリックします
![Zedの画面右下にいくつかのアイコンが並んでいるスクリーンショット。星のアイコンのボタンがマウスホバーされており、[Agent Panel (Ctrl + Shift + /)]というツールチップが表示されている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-agent-panel-button.png&w=1920&q=75)
Agent Panel右上のメニューボタンをクリックして[Settings]を選択します
![ZedのAgent Panelのスクリーンショットで、メニュー項目のうち[Settings]がハイライトされている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-agent-panel-settings-button.png&w=1920&q=75)
[GitHub Copilot Chat]セクションを開いて[Sign in to use GitHub Copilot Chat]をクリックします
![Zedのスクリーンショット。ウィンドウの右側にAgent Panelの設定が表示されており、[GitHub Copilot Chat]セクションが展開されている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-sign-in-to-use-github-copilot.png&w=3840&q=75)
画面に表示されるログインコードをコピーして、[Connect to GitHub]をクリックします
![Use GitHub Copilot in Zed. Using Copilot requires an active subscription on GitHub. Paste this code into GitHub after clicking the button below. [Connect to GitHub] [Cancel]](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fuse-github-copilot-in-zed.png&w=3840&q=75)
ブラウザーでGitHubアカウントを接続してZedに戻ると、GitHub Copilotのコード補完とGitHub Copilot Chatが使えるようになっています
![Copilot Enabled! You can update your settings or sign out from the Copilot menu in the status bar. [Done]](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fzed-github-copilot-enabled.png&w=3840&q=75)
参考リンク
更新履歴
- 2026年2月6日:Zed v0.222.2で設定のプロパティ名が変更されたため記事を更新
記事をシェア
フォローして最新情報を入手
Googleの優先ソースに追加すると、このサイトの記事をGoogleで見つけやすくなります。また、ぜひXやRSSフィードもフォローしてください。
-1.png&w=1080&q=75)
生まれた時から、母国語よりも先にJavaScriptを使っていました。ネットの海のどこにもいなくてどこにでもいます。
Webフロントエンドプログラマーとして、TypeScriptを用いたWebアプリやブラウザー拡張機能を制作。Xのシャドウバン検知ツール「Shadowban Scanner」やリンクカード復活ツール「Restore Link Card」を公開し、国内外のメディアで紹介されました。iGEM 2023ではJapan-UnitedチームのWikiを制作してGrand Prizeの獲得に貢献。ブログではXやSNSの最新ニュース、不具合の検証と対処法、フロントエンド開発の知見を発信しています。






![Discordの[プロフィールのプライバシー]設定のスクリーンショット](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fdiscord-profile-privacy-settings.png&w=3840&q=75)
![スマートフォンのホーム画面の[Social]フォルダーを表示した写真。フォルダー内にはFacebook、Instagram、Threads、X、LinkedIn、TikTok、YouTubeのアイコンが配置されている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Ffacebook-instagram-threads-x-twitter-linkedin-tiktok-youtube-mobile-app-unsplash.jpg&w=3840&q=75)


![npmのパッケージの設定画面のスクリーンショット。[Trusted Publisher]セクションの[Select your publisher]に[GitHub Actions]と[GitLab CI/CD]の2つのボタンが表示されている](/_next/image/?url=%2Fapi%2Fmedia%2Ffile%2Fnpm-trusted-publishing-settings.png&w=3840&q=75)
