GitHub Copilot

Your AI pair programmer

Visit Website

GitHub Copilot is an AI pair programmer that offers suggestions as you code. Powered by OpenAI Codex, it works as an extension in VS Code, JetBrains, Neovim, and more. Features include inline suggestions, chat, voice commands, and enterprise-grade security.

Quick Reference

Tab: Accept suggestion

Esc: Dismiss suggestion

Alt+]: Next suggestion

Alt+[: Previous suggestion

Cmd+I: Open Copilot Chat

/explain: Explain selected code

/fix: Fix code issues

/tests: Generate unit tests

/doc: Add documentation

Works in VS Code, JetBrains, Neovim, CLI

Setup Guide

# Getting Started with GitHub Copilot ## Subscription 1. Go to https://github.com/features/copilot 2. Choose a plan (Individual, Business, or Enterprise) 3. Subscribe and enable for your account ## Installation ### VS Code 1. Open Extensions (Cmd+Shift+X) 2. Search "GitHub Copilot" 3. Install and sign in with GitHub ### JetBrains IDEs 1. Open Settings → Plugins 2. Search "GitHub Copilot" 3. Install, restart, and sign in ### Neovim ```bash :Copilot setup :Copilot enable ``` ## Key Features ### Inline Suggestions As you type, Copilot suggests completions: - Tab: Accept suggestion - Esc: Dismiss - Alt+]: Next suggestion - Alt+[: Previous suggestion ### Copilot Chat Have conversations about your code: - Explain code - Fix bugs - Generate tests - Refactor ### Commands In chat, use slash commands: - `/explain`: Explain selected code - `/fix`: Fix the selected code - `/tests`: Generate unit tests - `/doc`: Add documentation ### Voice Commands Use natural language voice commands (in VS Code) ## Best Practices - Write clear comments before code - Use descriptive function names - Review all suggestions - Combine with Copilot Chat for complex tasks