How to Set Up GitHub Copilot in VS Code (Updated Feb 2026)
Step-by-step guide to installing and configuring GitHub Copilot in Visual Studio Code, with current pricing across all plan tiers and essential settings to tune.
Editorial Team
The AI Coding Tools Directory editorial team researches and reviews AI-powered development tools to help developers find the best solutions for their workflows.
GitHub Copilot is an AI-powered code completion and chat tool that integrates directly into VS Code. Setup takes under five minutes: install the extension, sign in with your GitHub account, and start coding with inline suggestions. This guide covers installation, configuration, keyboard shortcuts, troubleshooting, and current pricing across all plan tiers.
AI pair programmer built into GitHub and popular IDEs
TL;DR
- Install the GitHub Copilot extension from the VS Code Marketplace, sign in with your GitHub account, and start receiving inline suggestions.
- The Free tier gives 2,000 completions and 50 premium requests per month with no credit card required.
- Press Tab to accept suggestions, Esc to dismiss, and Alt+]/Alt+[ to cycle through alternatives.
- Pro ($10/month), Pro+ ($39/month), and Business ($19/user/month) add more requests, advanced models, and org controls.
- Copilot requires an internet connection and cannot run offline.
Prerequisites
Before you begin, make sure you have:
- VS Code installed (latest stable version recommended)
- A GitHub account (any tier works for the free plan)
- Internet access (Copilot is cloud-based and cannot run offline)
Step 1 --- Install the Extension
- Open VS Code and go to the Extensions view (
Ctrl+Shift+X/Cmd+Shift+X). - Search for GitHub Copilot and click Install.
- Copilot Chat is now bundled with the main extension---no separate install needed.
Step 2 --- Sign In and Activate
- After installing, click Sign in to GitHub when prompted.
- Complete the browser-based authentication flow and return to VS Code.
- If you do not have an active subscription, you can start with the Free tier (no credit card required), begin a trial, or select a paid plan.
Step 3 --- Verify It Works
- Create or open any code file (e.g., a
.pyor.tsfile). - Start typing a comment describing a function. You should see gray "ghost text" suggestions.
- Press Tab to accept a suggestion, or Esc to dismiss it.
If ghost text does not appear, check the status bar for the Copilot icon and confirm you are signed in.
Step 4 --- Tune Key Settings
Open Settings (Ctrl+, / Cmd+,) and search for "Copilot":
"github.copilot.enable": {
"*": true,
"markdown": false,
"plaintext": false
},
"editor.inlineSuggest.enabled": true
These settings let you enable or disable Copilot per language and ensure inline suggestions are active.
Step 5 --- Learn the Core Shortcuts
| Action | Shortcut |
|---|---|
| Accept suggestion | Tab |
| Dismiss suggestion | Esc |
| Next suggestion | Alt+] / Option+] |
| Previous suggestion | Alt+[ / Option+[ |
| Open Copilot Chat | Activity Bar icon or Ctrl+Shift+P and search "Copilot Chat" |
| Explain selected code | Select code, right-click, then Copilot > Explain This |
| Fix selected code | Select code, right-click, then Copilot > Fix This |
Step 6 --- Troubleshooting Common Issues
No suggestions appearing? Confirm you are signed in, inline suggestions are enabled, and the file type is one Copilot recognizes.
Copilot icon missing from status bar? Ensure the extension is installed and enabled. Try reloading VS Code (Ctrl+Shift+P > "Developer: Reload Window").
Access denied or expired trial? Check your subscription status at github.com/settings/copilot and verify your plan is active.
Plan Overview (Feb 2026)
| Plan | Price | Key Features |
|---|---|---|
| Free | $0/month | 2,000 completions + 50 premium requests/month; no credit card required |
| Pro | $10/month or $100/year | Unlimited completions, 300 premium requests/month, multi-model access |
| Pro+ | $39/month or $390/year | 1,500 premium requests/month, advanced models (Claude Opus 4.6), GitHub Spark |
| Business | $19/user/month | Org policy controls, SSO/SAML, seat management, code not used for training |
| Enterprise | Custom pricing | GitHub.com PR/issue integrations, advanced governance, custom SLAs |
Verified students, teachers, and eligible open-source maintainers get Pro-level access free.
Anthropic's frontier reasoning model: 80.9% SWE-bench record, 1M token beta context, and adaptive thinking
Extra premium requests beyond your plan allowance cost $0.04 each.
Sources
- GitHub Copilot plans: github.com/features/copilot/plans
- VS Code Copilot docs: code.visualstudio.com/docs/copilot/overview
- GitHub Docs quickstart: docs.github.com/en/copilot/get-started
Want alternatives? Explore Cursor, Windsurf, Claude Code, and more in our directory.
Anthropic's terminal-based AI coding agent with 80.9% SWE-bench, Agent Teams, and GitHub Actions
Tools Mentioned in This Article
Claude Code
Anthropic's terminal-based AI coding agent with 80.9% SWE-bench, Agent Teams, and GitHub Actions
SubscriptionClaude Opus 4.6
Anthropic's frontier reasoning model: 80.9% SWE-bench record, 1M token beta context, and adaptive thinking
Pay-per-useCursor
The AI-native code editor with $1B+ ARR, 25+ models, and background agents on dedicated VMs
FreemiumGitHub Copilot
AI pair programmer built into GitHub and popular IDEs
FreemiumWindsurf
AI-native IDE with Cascade agents and SWE model family
PaidFree Resource
2026 AI Coding Tools Comparison Chart
Side-by-side comparison of features, pricing, and capabilities for every major AI coding tool.
No spam, unsubscribe anytime.
Workflow Resources
Cookbook
AI-Powered Code Review & Quality
Automate code review and enforce quality standards using AI-powered tools and agentic workflows.
Cookbook
Building AI-Powered Applications
Build applications powered by LLMs, RAG, and AI agents using Claude Code, Cursor, and modern AI frameworks.
Cookbook
Building APIs & Backends with AI Agents
Design and build robust APIs and backend services with AI coding agents, from REST to GraphQL.
Cookbook
Debugging with AI Agents
Systematically debug complex issues using AI coding agents with structured workflows and MCP integrations.
MCP Server
AWS MCP Server
Interact with AWS services including S3, Lambda, CloudWatch, and ECS from your AI coding assistant.
MCP Server
Context7 MCP Server
Fetch up-to-date library documentation and code examples directly into your AI coding assistant.
MCP Server
Docker MCP Server
Manage Docker containers, images, and builds directly from your AI coding assistant.
MCP Server
Figma MCP Server
Access Figma designs, extract design tokens, and generate code from your design files.
Frequently Asked Questions
What does Copilot cost?
Is there a free tier?
Which extensions do I need?
Which models does Copilot use?
Does Copilot work offline?
Related Articles
What is Vibe Coding? The Complete Guide for 2026
Vibe coding is the practice of building software by describing intent in natural language and iterating with AI. This guide explains how it works, who it's for, and how to get started.
Read more →GuideWarp Oz: Cloud Agent Orchestration for DevOps
A practical guide to Warp's Oz cloud agent: what it does, how it fits into terminal and DevOps workflows.
Read more →GuideSWE-bench Wars: How AI Coding Benchmarks Hit 80%
A practical look at SWE-bench and AI coding benchmarks: what they measure, current results, and how to interpret claims.
Read more →