GitHub Copilot Getting Started Tutorial
GitHub Copilot is no longer the code completion tool it was in 2021.
GitHub Copilot is now an AI coding platform covering IDE, CLI, and GitHub: autonomously editing multiple files in the IDE, turning Issues into PRs in the cloud, running parallel sub-agents in the terminal, and doing intelligent code review on the PR page.

The evolution of GitHub Copilot
| Year | Milestone |
|---|---|
| 2021 | Technical preview launched. Powered by OpenAI Codex, only line-level code completion |
| 2022 | Officially commercially available, the first large-scale AI coding assistant |
| 2023 | Copilot Chat launched with conversational interaction; Copilot for Business released |
| 2024 | Agent Mode introduced autonomous multi-file editing; multi-model support launched; free plan launched |
| 2025 | Agent Mode fully GA; Cloud Agent turns Issues directly into PRs; Copilot Code Review officially launched |
| 2026 | Cloud Agent, CLI, and JetBrains Agent Mode fully GA; migrated to AI Credits usage-based billing; 4.7M+ paid users, covering over 90% of the Fortune 100 |
Today's Copilot is aacross IDE, CLI, GitHub.com, and mobile,unified AI coding platform, not just a completion plugin.
Full map of core capabilities
| Capability | Entry point | One-line description |
|---|---|---|
| Code completion | IDE | Show single-line/multi-line suggestions in real time as you type |
| Next Edit | IDE | Predict the location of your next change and suggest content |
| Copilot Chat | IDE / GitHub.com / Mobile | Conversational Q&A, explain code, generate tests |
| Agent Mode | IDE | Autonomously edit multiple files, run terminal commands, iterate until the task is done |
| Cloud Agent | GitHub.com | Assign an Issue to Copilot; it writes code and opens a PR in the cloud |
| Copilot CLI | Terminal | An Agent in the terminal, supporting Plan, autopilot, and parallel sub-agents |
| Code Review | GitHub.com / IDE | AI reviews PRs, gives inline suggestions, and can fix with one click |
| PR summary | GitHub.com | Automatically generate PR descriptions and change summaries |
| Commit message | IDE / GitHub Desktop | Automatically generate the Commit Message |
| GitHub Spark | GitHub.com | Describe an App in natural language, generate runnable code and a live preview |
VS Code usage
With its rich AI plugins, VS Code has become the most mainstream editor for practicing Vibe Coding; you can use Copilot for lightweight development, or install dedicated VIBE agent plugins for fully automatic multi-file development.
VS Code tutorial:https://www.runoob.com/vscode/vscode-tutorial.html
The new VS Code (1.116+ latest stable release) has Copilot built in natively, no need to install plugins manually; click the icon in the upper-left corner to bring it up:

Open the editor and you will see the Copilot entry; just log in with your GitHub account, no need to install plugins from the Extensions marketplace.


After logging in, check:

Older VS Code (1.115 and earlier) requires manually installing two extensions:
Start Vibe Coding
Next, let's create a directory folder:
mkdir runoob-vibe-coding
Enter the directory:
cd runoob-vibe-coding
Open it with VS Code:
code .
Add a file vibe-coding-runoob.html in the editor:

In the left file menu, select the created file, click the panel toggle button in the upper-right corner to bring up the AI tools, then enter a prompt in the dialog:
帮我写一个 JavaScript 小游戏:程序随机生成 1 到 100 的数字,让我猜,猜大了提示「太大了」,猜小了提示「太小了」,猜中了就结束。
The AI will start working; check the final result:

We do not need to participate in coding at all; the HTML code, CSS style code, and JavaScript code are all generated automatically for us.
Official Resources
- GitHub Copilot feature overview:docs.github.com/copilot/get-started/features
- Plans and pricing:github.com/features/copilot/plans
- Cloud Agent documentation:docs.github.com/copilot/concepts/agents
- Custom instructions guide:docs.github.com/copilot/customizing-copilot
- Free application for students:education.github.com/pack
- Copilot Changelog:github.blog/changelog