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 one of the fastest ways to add AI-powered code completions and chat to your existing VS Code workflow. This guide walks you through setup in under five minutes.
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.
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.
Get the Weekly AI Tools Digest
New tools, comparisons, and insights delivered regularly. Join developers staying current with AI coding tools.
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
PaidWorkflow 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.
Skill
Change risk triage
A systematic method for categorizing AI-generated code changes by blast radius and required verification depth, preventing high-risk changes from shipping without adequate review.
Skill
Configuring MCP servers
A cross-tool guide to setting up Model Context Protocol servers in Cursor, Claude Code, Codex, and VS Code, including server types, authentication, and common patterns.
Skill
Local model quality loop
Improve code output quality when using local AI models by combining rules files, iterative retries with error feedback, and test-backed validation gates.
Skill
Plan-implement-verify loop
A structured execution pattern for safe AI-assisted coding changes that prevents scope creep and ensures every edit is backed by test evidence.
MCP Server
AWS MCP Server
Open source MCP servers from AWS Labs that give AI coding agents access to AWS documentation, best practices, and contextual guidance for building on AWS.
MCP Server
Docker MCP Server
Docker MCP Gateway orchestrates MCP servers in isolated containers, providing secure discovery and execution of Model Context Protocol servers across AI coding tools.
MCP Server
Figma MCP Server
Official Figma MCP server that brings design context, variables, components, and Code Connect data into AI coding sessions for design-to-code workflows.
MCP Server
Firebase MCP Server
Experimental Firebase MCP server that gives AI coding agents access to Firestore, Auth, security rules, Cloud Messaging, and project management through the Firebase CLI.
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 →