GitHub Copilot (Free for Students)
Step 1 β Link your university account
Section titled βStep 1 β Link your university accountβ- Go to education.github.com
- Sign in with your GitHub account (create one free if needed)
- Click Get student benefits
- Verify with your XJTLU email address
- Wait for approval β usually within a few hours
Once approved, GitHub upgrades your account to Copilot Student automatically.
Step 2 β Install GitHub Copilot in VS Code
Section titled βStep 2 β Install GitHub Copilot in VS Codeβ- Open VS Code
- Extensions panel β search GitHub Copilot
- Install both:
- GitHub Copilot (completions)
- GitHub Copilot Chat (chat + agent mode)
- Sign in when prompted β use the same GitHub account
What you get
Section titled βWhat you getβ| Feature | What it does |
|---|---|
| Inline completions | Suggests the next line or block as you type β press Tab to accept |
| Copilot Chat | Ask questions about your code, get explanations, generate snippets |
| Agent mode | Give it a task in plain language β it edits multiple files, runs commands, and loops until done |
All three are free with your verified student account. No quota on completions or chat.
Agent mode β what it can actually do
Section titled βAgent mode β what it can actually doβAgent mode is in VS Codeβs Copilot Chat panel (look for the agent icon or type @agent).
Good uses:
- βScaffold a Flask API with two routes and a SQLite databaseβ
- βAdd form validation to all input fields in this fileβ
- βWrite unit tests for this function and run themβ
- βRefactor this component to use the new APIβ
What to expect:
- It creates a plan, edits files, runs terminal commands, and checks the output
- It loops when something fails β you watch it self-correct
- It works well for clearly scoped, single-feature tasks
Recommended workflow for this course
Section titled βRecommended workflow for this courseβ| Week | How to use Copilot |
|---|---|
| Weeks 4β5 | Inline completions + Chat for syntax help and code explanation |
| Week 5 onwards | Agent mode for scaffolding new features β one task at a time |
| Throughout | Chat to explain code you do not understand |
Was this page helpful?
β
θ¬θ¬ Β· Thank you
Quick check-in
This site uses anonymous analytics (Microsoft Clarity) to improve course content. No personal data is collected.