---
title: "Copilot CLI in VS Code"
url: https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s
source_url: https://www.youtube.com/watch?v=DDHT1xj01kE
type: video:youtube
source: "Visual Studio Code"
published: 2026-03-05T20:46:29.831Z
updated: 2026-03-05T20:46:45.173Z
tags: ["github", "cli", "vscode", "ai-assisted-development"]
reading_time: 1
upvotes: 31
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Copilot CLI in VS Code

**[Visual Studio Code](https://daily.dev/sources/vscode)** · 1 min read · 31 upvotes · 0 comments

## Summary

GitHub Copilot CLI now automatically detects open VS Code instances and connects to them, allowing developers to share the same session context across both environments. This means you can start a Copilot session in the CLI, then continue it in VS Code and switch back and forth while maintaining full context, making it easy to view and edit files in the IDE while still using the CLI workflow.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=DDHT1xj01kE>

## Similar posts on daily.dev

- [Getting started with GitHub Copilot in Visual Studio or VS Code](https://daily.dev/posts/getting-started-with-github-copilot-in-visual-studio-or-vs-code-3or4rwi6m) · InfoWorld · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#cli](https://daily.dev/tags/cli), [#vscode](https://daily.dev/tags/vscode), [#ai-assisted-development](https://daily.dev/tags/ai-assisted-development)

[View this post on daily.dev](https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s)
