A quick reference for training participants. For detailed instructions, see the Week 1 Setup and Configuration Guide in the workshop materials.
VS Code, Visual Studio, JetBrains IDEs, Eclipse, Vim/Neovim, Xcode, Azure Data Studio, GitHub Mobile, Windows Terminal.
- Open your IDE's extension/plugin marketplace
- Search for "GitHub Copilot"
- Install and restart your IDE
- Sign in with your GitHub account when prompted
VS Code: Settings > search "proxy" > enter your proxy URL
Environment variables:
export HTTP_PROXY=http://proxy-server-url:port
export HTTPS_PROXY=http://proxy-server-url:portContact your IT team for your organisation's specific proxy settings.
Copilot uses your prompts and relevant context to generate responses. How GitHub processes and retains Copilot data depends on your plan, settings, and where you use Copilot (for example, an IDE or GitHub.com).
See the GitHub Copilot Trust Center for current privacy and retention details.
GitHub Copilot supports most programming languages. Performance is typically best for popular languages: JavaScript, Python, Java, TypeScript, Go, Ruby, PHP, C++, C#, and Swift.
GitHub Copilot primarily references code within the active file and local repository. To include context from multiple repositories, open them in a single workspace or use Git submodules.
GitHub Copilot can assist with:
- SQL queries (SELECT, INSERT, UPDATE, DELETE, JOINs, subqueries)
- ORM code (SQLAlchemy, Sequelize, Django ORM)
- Database migrations and schema definitions
It cannot connect to live databases or automatically detect your schema.
GitHub Copilot generates both small snippets and larger blocks including entire functions, classes, or modules. Always review and test generated code.
| Feature | Description |
|---|---|
| Code completion | Real-time inline suggestions |
| Copilot Chat | Natural language coding assistance |
| Agent Mode | Autonomous multi-file changes |
| Copilot Edits | Multi-file edits from a single prompt |
| Code Review | AI suggestions on pull requests |
| PR Summaries | Auto-generated pull request descriptions |
| Test Generation | Automatic unit test creation |
GitHub Copilot Chat uses your current file, chat history, and workspace context to provide relevant responses. Use @workspace to help Copilot retrieve relevant files from your codebase.
Copilot Free includes 50 messages per month for Copilot Chat in IDEs. Other plans have different entitlements, including premium request allowances.
See Plans for GitHub Copilot for up to date limits.
See the GitHub Copilot documentation for full feature details.
- Update GitHub Copilot to the latest version
- Sign out and sign back in
- Check your subscription at GitHub Billing Settings
Stuck on sign-in screen:
- Open Command Palette (Ctrl+Shift+P)
- Run "GitHub Copilot: Sign Out"
- Sign back in
- Check proxy/firewall settings if on a corporate network
Repeated sign-in prompts:
- Clear VS Code credentials: Settings > User > Clear Saved Credentials
- Reinstall the GitHub Copilot extension
- Check the Copilot icon in the status bar (diagonal line means disabled)
- Ensure you are editing a supported file type (.js, .py, .ts, etc.)
- Try disabling other extensions that may conflict
Wait 10-15 minutes if you have made multiple authentication attempts. Check GitHub Status for service issues.
- Configure proxy settings in VS Code (see Proxy Setup above)
- Ask your IT team to whitelist GitHub's authentication endpoints
- See GitHub's network requirements
VS Code:
- Close VS Code
- Delete cache:
%APPDATA%\Code\CachedData(Windows) or~/Library/Application Support/Code/CachedData(macOS) - Clear credentials in Windows Credential Manager or macOS Keychain
- Reopen and sign in again
JetBrains:
- Close the IDE
- Delete cache contents from
.IntelliJIDEA<version>\system(Windows) or~/Library/Caches/JetBrains/<version>(macOS) - Remove GitHub credentials in Settings > Passwords
- Reopen and sign in again
In VS Code settings, search for "Copilot", open settings.json under GitHub > Copilot: Advanced, and remove the line "authProvider": "github-enterprise" if present.