Home›GitHub Copilot›GitHub Copilot アプリのセッションを VS Code で続行する方法

GitHub Copilot アプリのセッションを VS Code で続行する方法How to continue a GitHub Copilot app session in VS Code

元記事を読むRead original articlegithub.blog(新しいタブで開きます)(opens in a new tab)
AI 要約AI summary

GitHub Copilot アプリのセッションを VS Code で直接開き、会話履歴やコード変更、作業文脈をそのまま引き継げる。エージェントの作業後に差分確認や手動修正、ローカル実行を行いたい開発者に役立つ。

A Copilot app session can be opened directly in VS Code, carrying over its chat, code edits, and context. Developers can let the agent do the heavy lifting, then review diffs, edit by hand, and test locally.

AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (github.blog) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (github.blog).

Copilot アプリから VS Code へ

GitHub Copilot アプリのセッションを Visual Studio Code で直接開き、そのまま作業を続けられると説明されている。エージェントが変更の大部分を終えたあと、細部の確認や手作業での修正、ローカルでの実行といった工程を、同じ流れの中で進められる点が要点だ。

作業が分断される場面

想定されているのは、エージェントが変更の大半を完了した段階だ。開発者はここで、ある実装の細部を確認し、数行を手で直し、出荷前にプロジェクトをローカルで動かしたいと考える。ところが作業は Copilot アプリの中にあり、差分のレビューやデバッグ、最終調整を行う場所はエディターである。

この状況で、アプリのセッションに留まるか、VS Code で最初からやり直すかの二択を迫られるように見える。それに対して、そのような選択は不要だというのが今回の説明だ。

引き継がれるもの

Copilot アプリのセッションを VS Code で開くと、会話、コードの変更、作業の文脈がそのまま保たれるとされる。新しく始め直すのではなく、同じセッションの続きとして扱える。

これにより、反復的な作業や時間のかかる作業は Copilot に任せ、その後の制御を開発者の手に戻すという進め方ができると説明されている。

手順の流れ

紹介されている流れは次の四つだ。まず Copilot アプリのセッションを VS Code で開く。次にエージェントによる変更を一行ずつ確認する。続いて同じ会話をエディターから継続する。最後にコードを修正し、ローカルでテストする。

会話の継続とコードの手動編集が同じ場所で行えるため、エージェントへの追加の指示と自分での修正を行き来しやすくなる。具体的な操作手順や画面上のボタン名、対応する環境の条件などは示されていない。

The GitHub Copilot app's agent can complete much of a code change, but developers often still want to inspect, adjust, and run the result in their editor. According to the GitHub Copilot blog, a Copilot app session can be opened directly in Visual Studio Code, so moving to the editor does not mean starting over.

The Agent Has Finished the Bulk

The post begins with a familiar situation. The agent has done most of your change, and you now want to inspect one implementation detail, adjust a few lines by hand, and run the project locally before shipping. The work is sitting in the GitHub Copilot app, while the editor is where you review diffs, debug code, and make final adjustments.

The post frames this as an apparent choice between staying in the session and starting over in VS Code. Its answer is that you don't have to choose.

Continue With Context Intact

The post says you can open the Copilot app session directly in VS Code and continue with its conversation, code changes, and working context intact. In other words, the chat, the code edits, and the surrounding context carry over rather than being left behind in the app.

The post describes this as a division of labor. Copilot handles the repetitive or time-consuming work, then hands control back to you for closer review, hands-on editing, and local testing.

Review, Edit, and Test Locally

The post summarizes the workflow in four steps. First, open a Copilot app session in VS Code. Second, review the agent's changes line by line. Third, continue the same conversation from your editor. Fourth, modify and test the code locally.

This matters most for developers who want the agent to do the heavy lifting but still want to check diffs, make manual corrections, and run the code themselves before finalizing. Because the same conversation continues in the editor, the session you started with the agent remains the thread you work from, rather than a separate starting point.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPokoエージェントが作業を終えたあとで、細かい部分は自分で直したいとき、どうすればいいの?When the agent finishes most of the work and I want to tweak the details myself, what do I do?
  2. TECHガイドTECH Guideこの記事だと、Copilot アプリのセッションを VS Code で直接開けるんだ。会話や코ード変更、作業の文脈もそのまま続けられるよ。The article says you can open the Copilot app session directly in VS Code. The conversation, code changes, and working context all carry over.
  3. ポコPokoじゃあ、最初からやり直さなくていいんだね。それって、どんな人に役立つの?So I don't have to start over. Who does that help most?
  4. TECHガイドTECH Guideエージェントの作業後に、差分の確認や手での修正、ローカルでのテストをしたい開発者だね。時間のかかる作業は Copilot に任せて、最後は自分で見られるよ。Developers who want to review diffs, edit by hand, and test locally after the agent's work. Copilot handles the time-consuming parts, then hands control back to you.
  5. ポコPokoつまり、任せたあとにエディタで細かく確かめて、同じ会話の続きもできるんだね。So I let it do the heavy lifting, check things closely in my editor, and keep the same conversation going.
  6. TECHガイドTECH Guideそうだね。流れは、セッションを開く、変更を一行ずつ見直す、会話を続ける、直してテストする、の順だよ。Right. The flow is: open the session, review changes line by line, continue the conversation, then modify and test the code.
記事情報・収集記録Article details & collection record
出典Source
GitHub Copilot Blog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
英語English
重要度の位置づけImportance in this lane
MediumMedium priority(GitHub Copilot 225件中、同等以上 189件)(189 of 225 GitHub Copilot entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
1.9 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
長期 (アーキテクチャ)Long-term (architecture)

🧠GitHub Copilot の他の記事More from GitHub Copilotもっと見る →View more →

ページ上部へScroll to top