Visual Studio における GitHub Copilot の 2026 年 5 月アップデート
GitHub は Visual Studio 2026 の May アップデートにおいて、コード記述前の計画支援や文脈管理機能などを強化し、エージェントベースの開発ワークフローをさらに洗練させた。
キーポイント
Plan エージェントによる事前計画支援
実装前に Copilot と協力して詳細な計画を立てられる新機能「Plan agent」が導入され、Markdown ファイルとして保存・管理可能になった。
エージェントスキルと文脈の可視化・管理強化
チャットウィンドウにスキルパネルを追加し、発見されたスキルを一元管理できるほか、コンテキストウィンドウの使用状況をリアルタイムで表示する機能も追加された。
複数ファイル変更の統合レビューと Git 連携
Copilot による複数ファイル編集後の差分を一括表示・承認できる機能や、Git コミットを直接チャットの文脈として付与する機能が強化された。
C++ ビルド最適化の精度向上
@BuildPerfCpp が回帰を検知した際、完全再ビルドではなく増分ビルドを再実行することで、実際の開発環境における最適化効果をより正確に反映するようになった。
影響分析・編集コメントを表示
影響分析
このアップデートは、AI エージェントを単なるコード補完ツールから、プロジェクト設計段階から関与する「パートナー」へと進化させる重要な転換点です。特に計画機能と文脈管理の強化により、大規模な C++ プロジェクトを含む複雑な開発環境において、開発者の生産性とコード品質を同時に向上させる実用的な基盤を提供します。
編集コメント
Visual Studio 2026 という未来のバージョンでのアップデート発表ですが、AI エージェントが「計画」から「実装」までをシームレスに繋ぐワークフローの実現に向けた明確な方向性を示しています。特に文脈管理機能の強化は、長期的な対話における AI の有用性を高める重要なステップと言えます。
2026 年 5 月、Visual Studio 2026 における GitHub Copilot を使用して、計画、レビュー、作業管理のためのツールがより洗練されました。
ハイライト
Visual Studio 2026 のすべての GitHub Copilot ユーザー向けの新機能をご紹介します。最新情報は Insiders チャンネルでご確認ください。
構築前に Plan エージェントで計画する:新しい Plan エージェント(エージェントピッカーでは「Plan」と表示)を使用すると、コードを記述する前に Copilot と協力して実装計画を立てることができます。Copilot は読み取り専用ツールを使用してコードベースを検索し、不明点を質問しながら、.copilot/plans/plan-{title}.md に保存される詳細な計画案を作成します。準備ができたら、「Implement plan」をクリックして、エージェントモードに引き渡してください。
エージェントのスキルを表示・管理する:チャットウィンドウ内の新しい Skills パネルには、ワークスペースとユーザープロファイルから検出されたすべてのエージェントスキルがリストされます。ここから、スキルの編集、ファイル場所の開封、名前やキーワードによるスキル間の検索をすべてワンストップで行うことができます。
Copilot による複数ファイル変更の要約差分表示:Copilot が複数のファイルを編集した後、作業セットで「Open change summary view」をクリックすると、すべての変更を一つのタブで確認できます。ファイル全体、個別ファイル、またはチャンク単位で承認または取り消しを行うことができ、ファイルを折りたたんだり、差分チャンクを順次確認したりするためのコントロールも用意されています。
コンテキストウィンドウの使用状況を管理する:Copilot チャットプロンプトの右上に新しいリングアイコンが表示され、コンテキストウィンドウの使用状況を確認できます。クリックすると詳細な内訳が表示され、「Summarize conversation」を使用して以前の対話を要約し、スペースを確保することができます。
コミットを Copilot Chat に追加:Git ヒストリー、ファイル履歴、または注釈(Blame)ビュー内の特定のコミットを右クリックして、それを直接コンテキストとして Copilot Chat に添付できます。複数選択もサポートされているため、複数のコミットを一度に添付可能です。
コミットメッセージの指示が移動しました:コミットメッセージのカスタム指示は、従来の「GitHub > Copilot > ソースコントロール統合」設定から、リポジトリ内の Copilot カスタム指示ファイルに移行し、すべての Copilot ガイダンスを一つの場所に集約しました。
反復的な C++ ビルドの最適化が改善されました:@BuildPerfCpp が完全再ビルド解析で性能低下を検出すると、比較可能なインクリメンタルビルドを再実行します。これにより、プリコンパイル済みヘッダーやヘッダーのリファクタリングなどの最適化による日常的な向上がより正確に反映されます。これらの最適化は、完全再ビルドでは遅く見える場合があります。
Visual Studio 2026 をダウンロードして、今日からすべての新しい Copilot 機能を体験してください。新機能の詳細については、Visual Studio ブログやリリースノートをご覧ください。
Copilot in Visual Studio の今後の展望
最新の Copilot 機能については、Visual Studio ブログをフォローして最新情報を入手できます。ここではロードマップの更新情報やフィードバックを提供する機会も紹介されています。
最新ニュース、リリースノート、動画、コミュニティでの議論については、Visual Studio Hub をご覧ください。これは Visual Studio 関連のすべての情報にアクセスできる中核リソースです。
本記事「GitHub Copilot in Visual Studio — May update」は、The GitHub Blog にて最初に公開されました。
原文を表示
May 2026 brought sharper tooling for planning, reviewing, and managing your work with GitHub Copilot in Visual Studio 2026.
Highlights
Here’s what’s new for all GitHub Copilot users in Visual Studio 2026. Check the Insiders channel for the latest:
Plan before you build with the Plan agent: The new Plan agent (labeled Plan in the agent picker) lets you collaborate with Copilot on an implementation plan before any code is written. Copilot explores your codebase with read-only tools, asks clarifying questions, and drafts a detailed plan saved as a markdown file at .copilot/plans/plan-{title}.md. When you’re ready, click Implement plan to hand it off to Agent mode.
View and manage agent skills: A new Skills panel in the chat window lists every agent skill discovered from your workspace and user profile. You can edit a skill, open its file location, or search across skills by name or keyword, all from a single place.
Multi-file summary diff for Copilot changes: After Copilot edits multiple files, click Open change summary view in the working set to see all changes in one tab. Accept or undo at the all-files, per-file, or per-chunk level, with controls to collapse files or step through diff chunks.
Manage context window usage: A new ring icon at the top right of the Copilot Chat prompt shows how much of the context window you’ve used. Click to see a detailed breakdown and use Summarize conversation to compact earlier turns and free up space.
Add commit to Copilot Chat: Right-click a commit in Git History, File History, or the Annotate (Blame) view and attach it directly as context in Copilot Chat. Multi-select is supported, so you can attach several commits at once.
Commit message instructions moved: Commit message custom instructions now live in your repository’s Copilot custom instructions file instead of the old GitHub > Copilot > Source Control Integration setting, keeping all Copilot guidance in one place.
Improved optimizations for iterative C++ builds: When @BuildPerfCpp detects a regression in full rebuild analysis, it now reruns a comparable incremental build. This better reflects the day-to-day gains from optimizations such as precompiled headers and header refactoring, which can look slower in rebuilds.
Download Visual Studio 2026 to experience all the new Copilot features today. To learn more about what’s new, check out the Visual Studio blog and release notes.
What’s next for Copilot in Visual Studio
Stay up to date on the latest Copilot features by following the Visual Studio blog, where you’ll find roadmap updates and opportunities to share feedback.
For the latest news, release notes, videos, and community conversations, visit the Visual Studio Hub, your central resource for all things Visual Studio.
The post GitHub Copilot in Visual Studio — May update appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み