<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s" -->

---
title: Copilot CLI in VS Code | daily.dev
description: GitHub Copilot CLI now automatically detects open VS Code instances and connects to them, allowing developers to share the same session context across both...
canonical: https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Copilot CLI in VS Code | daily.dev
og:description: GitHub Copilot CLI now automatically detects open VS Code instances and connects to them, allowing developers to share the same session context across both...
og:url: https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s
og:image: https://api.daily.dev/og/posts/05bHodr9s.png
og:image:alt: Copilot CLI in VS Code
og:image:width: 1200
og:image:height: 630
og:locale: 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
- [GitHub Copilot tutorial: How to build, test, review, and ship code faster \(with real prompts\)](https://daily.dev/posts/github-copilot-tutorial-how-to-build-test-review-and-ship-code-faster-with-real-prompts--lyeseh4bm) · GitHub Blog · 2 upvotes · 0 comments
- [GitHub Copilot in Visual Studio Code, June 2026 releases](https://daily.dev/posts/github-copilot-in-visual-studio-code-june-2026-releases-8zjjjsajh) · GitHub Changelog · 0 upvotes · 0 comments

---

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

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

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Copilot CLI in VS Code","url":"https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s"},"datePublished":"2026-03-05T20:46:29.831Z","dateModified":"2026-10-14T02:24:26.411Z","description":"GitHub Copilot CLI now automatically detects open VS Code instances and connects to them, allowing developers to share the same session context across both...","image":"https://i.ytimg.com/vi/DDHT1xj01kE/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/DDHT1xj01kE/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Visual Studio Code","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Visual Studio Code","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d5adab6ae9fb44d19859748fc30f5e18","url":"https://daily.dev/sources/vscode"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/copilot-cli-in-vs-code-05bhodr9s","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":31},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-coding,cli,github,vscode","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Copilot CLI in VS Code","description":"GitHub Copilot CLI now automatically detects open VS Code instances and connects to them, allowing developers to share the same session context across both...","thumbnailUrl":"https://i.ytimg.com/vi/DDHT1xj01kE/sddefault.jpg","uploadDate":"2026-03-05T20:46:29.831Z","duration":"PT1M","url":"https://api.daily.dev/r/05bHodr9s","embedUrl":"https://www.youtube.com/embed/DDHT1xj01kE"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Visual Studio Code","item":"https://daily.dev/sources/vscode"},{"@type":"ListItem","position":3,"name":"Copilot CLI in VS Code"}]}
```

