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

  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.

Extra premium requests beyond your plan allowance cost $0.04 each.

Sources


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.

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.

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