Quickstart
Hands-on tutorial: build a task manager app with all Copilot features
Read time: 6 min
title: "Quickstart" description: "Hands-on tutorial: build a task manager app with all Copilot features" section: "Copilot" readTime: "6 min"
Quickstart: GitHub Copilot in VS Code
Build a complete task manager web app while learning VS Code's AI features.
Prerequisites
- VS Code installed
- GitHub Copilot access (free plan works) — follow Setup
Step 1 — Inline Suggestions
- Create a new folder and open it in VS Code
- Create
index.html - Start typing
<!DOCTYPE html>— ghost text appears with HTML structure - Press Tab to accept the suggestion
- Use Alt+] / Alt+[ to cycle through alternative suggestions
- Accept partial suggestions with Ctrl+Right (word by word)
Tip: Inline suggestions work best when you have related files open for context.
Step 2 — Build Features with Agents
- Open Chat view (
Ctrl+Alt+I) - Select Agent from the agent dropdown
- Enter a prompt:
Create a complete task manager web app with add, delete, and mark-complete.
Include modern CSS. Separate HTML, CSS, and JS into their own files.
- Watch the agent create files, install dependencies, run commands
- Select Keep to accept all changes
- Add a follow-up: "Add filter buttons for all/completed/pending tasks"
Step 3 — Inline Chat for Precise Edits
- Open your JS file, select the task-adding function
- Press Ctrl+I to open editor inline chat
- Enter: "Add input validation to prevent empty tasks; trim whitespace"
- Review the targeted change → select Keep
Use inline chat for: small focused changes, adding error handling, refactoring single functions.
Step 4 — Custom Instructions
- Create
.github/copilot-instructions.mdin your project root - Add your coding standards:
## Code Style
- Use semantic HTML5 elements
- Prefer ES6+ (const/let, arrow functions, template literals)
## Naming
- PascalCase for components, camelCase for functions/variables- All future chat interactions in this project follow these rules automatically
- Use
/initin chat to auto-generate instructions from your existing code
Step 5 — Smart Actions
- Open Source Control view (
Ctrl+Shift+G) - Stage your changes
- Click the sparkle icon to generate a commit message
- The AI analyzes staged changes and writes a conventional commit message