Visual Studio Code の GitHub Copilot、4 月リリースで機能強化
Microsoft は VS Code を週次安定版へ移行し、GitHub Copilot に意味検索や履歴照会機能を追加した。これにより開発効率が向上する。
VS Code は週次安定版リリースに移行しました。本変更ログは、2026 年 4 月およびその直後に公開された v1.116 から v1.119 までのリリースをカバーしています。
Copilot は現在、任意のワークスペースで意味に基づいた検索が可能となり、GitHub リポジトリや組織全体にわたって grep スタイルのクエリを実行できます。実験的な /chronicle 機能により、過去のチャット履歴を検索して、何に取り組んでいたか、どのファイルを変更したか、どの PR を参照したかを思い出せます。より賢明なプロンプトキャッシュ、遅延ツール読み込み、目的別に設計されたエージェント用ツールにより、エージェントの動作を変えずにトークン使用量を削減できます。
エージェントには、チャット内のインライン差分表示、ブラウザタブの共有機能、および任意の開いているターミナルへの読み取り/書き込みアクセスが追加されました。Bring-your-own-key(BYOK)サポートは Copilot Business および Enterprise にも拡張され、チームは VS Code 内で直接独自のモデルプロバイダーを接続できるようになりました。管理者には、エージェントが到達可能なドメインを制御するための新しいグループポリシーが用意されています。
長時間実行される作業については、Copilot CLI セッションを GitHub.com またはモバイルアプリから遠隔で監視・操作できるようになりました。エージェントのデバッグログはセッション間でも保持され、バックグラウンドで実行されたターミナルコマンドはチャット内の通知として表示されます。
より賢明なコンテキスト
あらゆるコードベースでの検索:意味インデックス(Semantic indexing)がすべてのワークスペースで動作するようになりました。また、新しい githubTextSearch ツールにより、エージェントは GitHub リポジトリや組織全体にわたって grep スタイルの検索を実行できるようになりました。
クエリ履歴を /chronicle で確認(実験的機能):Chronicle は、チャット対話をローカルデータベースに記録し、過去のセッションを検索したり、最近の作業を思い出したり、パーソナライズされたワークフローのヒントを受け取ったりできます。設定:⚙️ github.copilot.chat.localIndex.enabled
トークン使用量の削減:スマートなプロンプトキャッシュ(prompt caching)、遅延ロードされるツール、新しいエージェント型ツールの導入により、すべてのリクエストでトークン使用量が削減されます。
エージェント体験
チャットでの差分レビュー:コード変更が、チャットスレッド内で直接差分表示として現れるようになりました。
エージェントのカスタマイズ生成:自然言語による説明から、カスタムエージェント、スキル、指示をドラフト作成できます。
独自のモデルキーの持ち込み:Copilot Business および Enterprise ユーザーは、OpenRouter、Microsoft Foundry、Google、Anthropic、OpenAI など、自身の API キー(API key)をリンクして、それらのモデルを VS Code チャットで直接利用できます。また、Ollama や Foundry Local などを介してローカル環境でモデルを実行することも可能です。管理者は GitHub.com の「独自の言語モデルキーの持ち込み」ポリシーを通じてアクセス制御を行います。BYOK(Bring Your Own Key)機能は、Copilot Free、Pro、および Pro ユーザー向けに利用可能です。
エージェントは任意のオープンターミナルにアクセス可能:エージェントは、実行中の REPL やインタラクティブスクリプトを含む、既存のフォアグラウンドターミナルから読み書きを行うことができます。
統合ブラウザ:エージェントがライブブラウザを閲覧できるように、必要なタブをコンテキストとして随時共有できます。エージェントはコンテンツを読み取り、ページと対話し、変更点をリアルタイムで検証できます。
チャットの継続性
デバイス間で Copilot CLI セッションを継続:この実験的機能を使用するには、設定で ⚙️ github.copilot.chat.cli.remote.enabled を有効にする必要があります。その後、/remote on コマンドを実行して、VS Code で開始した進行中の Copilot CLI セッションを GitHub.com またはモバイルアプリから監視・操作できるようになります。
過去のエージェントセッションのデバッグ:エージェントデバッグログパネルがローカルにログを保存するようになったため、以前のランで何が起こったかを追跡できます。
バックグラウンドコマンドの追跡:長時間実行されるターミナルコマンドは、チャット内でシステム通知によりステータスを知らせてくれます。
その他新機能
エージェントセッションでの作業効率向上のための UX 改善:インクリメンタルチャットレンダリング、ソート可能なエージェントセッション、Copilot CLI 用の同期されたセッションタイトル。
新しい Markdown プレビュー体験:新しいツールバーボタンとコマンドを使用して、Markdown ソースとプレビューを簡単に切り替えられます。
Happy coding!
GitHub コミュニティ内でディスカッションに参加してください。
この投稿「GitHub Copilot in Visual Studio Code, April releases」は、The GitHub Blog に最初に掲載されました。
原文を表示
VS Code moved to weekly stable releases. This changelog covers releases v1.116 through v1.119, the releases we shipped throughout April and early May 2026.
Copilot can now search by meaning in any workspace and run grep-style queries across GitHub repos and orgs. An experimental /chronicle feature lets you query your own chat history to recall what you worked on, which files you touched, and which PRs you referenced. Smarter prompt caching, deferred tool loading, and purpose-built agentic tools reduce token usage without changing agent behavior.
Agents gain inline diffs in chat, browser tab sharing, and read/write access to any open terminal. Bring-your-own-key support extends to Copilot Business and Enterprise, letting teams connect their own model providers directly in VS Code. Admins get new group policies for controlling which domains agents can reach.
For longer-running work, Copilot CLI sessions can now be monitored and steered remotely from GitHub.com or the mobile app. Agent debug logs persist across sessions, and background terminal commands surface as notifications in chat.
Smarter context
Search across any codebase: Semantic indexing now works in all workspaces. Agents can also run grep-style searches across GitHub repos and orgs with the new githubTextSearch tool.
Query history with /chronicle (Experimental): Chronicle tracks your chat interactions in a local database so you can search past sessions, recall recent work, and get personalized workflow tips. Setting: ⚙️ github.copilot.chat.localIndex.enabled
Lower token usage: Smarter prompt caching, deferred tool loading, and new agentic tools reduce token usage on every request.
Agent experience
Review diffs in chat: Code changes now appear as diffs directly in the chat thread.
Generate agent customizations: Draft custom agents, skills, and instructions from a natural language description.
Bring your own model key: Copilot Business and Enterprise users can link their own API keys (OpenRouter, Microsoft Foundry, Google, Anthropic, OpenAI, and others) to use those models directly in VS Code chat. You can also run models locally with Ollama, Foundry Local, and more. Admins control access via the Bring Your Own Language Model Key policy on GitHub.com. BYOK is available for Copilot Free, Pro, and Pro users.
Agents can access any open terminal: Agents can read from and write to existing foreground terminals, including running REPLs and interactive scripts.
Integrated Browser: Give agents visibility into your live browser by sharing tabs on demand as context. Agents can read content, interact with pages, and validate changes in real time.
Chat Continuity
Continue Copilot CLI sessions across devices: This experimental feature requires enabling ⚙️ github.copilot.chat.cli.remote.enabled in Settings. After that, run /remote on to monitor and steer ongoing Copilot CLI sessions started in VS Code from GitHub.com or the mobile app.
Debug past agent sessions: The Agent Debug Log panel now persists logs locally so you can retrace what happened in earlier runs.
Track background commands: Long-running terminal commands inform you of their status with system notifications in chat.
Also new
UX improvements to help you work more efficiently with agent sessions: Incremental chat rendering, sortable agent sessions, and synced session titles for Copilot CLI.
New Markdown preview experience: Easily switch between Markdown source and preview using new toolbar buttons and commands.
Happy coding!
Join the discussion within GitHub Community.
The post GitHub Copilot in Visual Studio Code, April releases appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み