Guide

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.

By AI Coding Tools Directory2026-02-255 min read
Last reviewed: 2026-02-25
ACTD
AI Coding Tools Directory

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.

GitHub Copilot logo
GitHub CopilotFreemium

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

  1. Open VS Code and go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X).
  2. Search for GitHub Copilot and click Install.
  3. Copilot Chat is now bundled with the main extension---no separate install needed.

Step 2 --- Sign In and Activate

  1. After installing, click Sign in to GitHub when prompted.
  2. Complete the browser-based authentication flow and return to VS Code.
  3. 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

  1. Create or open any code file (e.g., a .py or .ts file).
  2. Start typing a comment describing a function. You should see gray "ghost text" suggestions.
  3. 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.

Claude Opus 4.6 logo
Claude Opus 4.6Pay-per-use

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


Want alternatives? Explore Cursor, Windsurf, Claude Code, and more in our directory.

Claude Code logo
Claude CodeSubscription

Anthropic's terminal-based AI coding agent with 80.9% SWE-bench, Agent Teams, and GitHub Actions

Free 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.

Frequently Asked Questions

What does Copilot cost?
Free tier: $0 (2,000 completions + 50 premium requests/month). Pro: $10/month or $100/year. Pro+: $39/month or $390/year. Business: $19/user/month. Enterprise: custom pricing. Verified students, teachers, and eligible OSS maintainers get Pro free.
Is there a free tier?
Yes. GitHub Copilot Free gives you 2,000 code completions and 50 premium requests per month at no cost. No credit card required.
Which extensions do I need?
Install GitHub Copilot from the VS Code Marketplace. Copilot Chat is now bundled with the main extension.
Which models does Copilot use?
Copilot routes across multiple AI providers including OpenAI, Anthropic, and Google. Pro+ gives access to advanced models like Claude Opus 4.6. The specific model mix varies by plan.
Does Copilot work offline?
No. It requires an active internet connection to reach GitHub's cloud service.