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.
Course AI Assistant