This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /GitHub

How to Use GitHub Copilot in VS Code

Updated on:
June 5, 2026
By:
Madhav Bhandari
Try this interactive demo to learn how to use GitHub Copilot in VS Code.

‍

‍

To use GitHub Copilot in VS Code, you must first install the extension and sign in with a GitHub account that has an active Copilot plan. Here’s how to do it: 

‍

  1. Open VS Code and click the gear icon to access extensions view.
  2. Then, go to the "Extensions" view.
  3. Search for "GitHub Copilot Chat" and click 'Install' to add the extension authored by GitHub. This will automatically install both GitHub Copilot and GitHub Copilot Chat extensions.
  4. Click "Continue" to choose an account for Visual Studio Code.
  5. Follow the prompts in your browser and click 'Authorize Visual-Studio-Code' to authorize VS Code.
  6. Open the Copilot Chat view and in the chat input field, click the "Create new Edit session" button.
  7. Choose a simple prompt.
  8. You can also reference files using the #file command in your prompt.
  9. If the initial changes aren't exactly right, you can enter a follow-up prompt in the same session to refine them
  10. You can select "Accept all". Copilot Edits is best for making quick, specific updates across a defined set of files with granular review control.

📌 Why this matters

Setting up GitHub Copilot in VS Code transforms your coding workflow by providing AI-powered code suggestions, explanations, and automated edits directly in your editor. Beyond basic autocomplete, you gain access to conversational programming where you can describe complex changes in plain English and watch Copilot implement them across multiple files simultaneously.

The real power emerges when you reference specific files in your prompts, enabling context-aware modifications that understand your entire codebase structure, making large refactoring tasks and feature implementations significantly faster than traditional manual coding.

Your product deserves an interactive demo
Start free
Similar Articles
GitHub

How to Import a Project from GitHub to Replit

Madhav Bhandari
Director of Marketing @ Storylane
GitHub

How to Push Code from Replit to GitHub

Madhav Bhandari
Director of Marketing @ Storylane
GitHub

How to Connect Replit to GitHub

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it