跳至内容
首页AI

课程

使用 GitHub Copilot 进行软件开发

中级技能水平
更新时间 2026年4月
掌握 GitHub Copilot,借助上下文、自定义和智能功能理解、编写并优化代码。
免费开始课程
GitHubArtificial Intelligence
1 小时 30 分钟
13 视频
40 道练习
2,650 XP
5,627
成就证明

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学习者的喜爱

Group

需要团队培训?

企业版试用

课程描述

GitHub Copilot 不只是智能自动补全——它是一位 AI 编码助手,能帮助您轻松理解、编写并改进代码。本课程将带您在 Visual Studio Code 中探索 Copilot:从自动补全建议到行内编辑与聊天模式,了解如何高效应用于从快速修复到跨文件重构等任务。您将学习如何通过聊天变量、参与者,以及逐步提示为 Copilot 提供合适的上下文,并用斜杠命令与智能操作来优化工作流。您还将通过自定义指令与模型选择来塑造 Copilot 的行为,使其符合项目规范或团队约定。最后,您会将这些能力融会贯通,使用 Copilot 生成测试套件、发现安全漏洞并优化性能。课程结束时,您将具备把 Copilot 打造成强大编码伙伴的能力——提升效率、减少错误,让代码不仅更快,而且更好。

先决条件

本课程无先修要求
1

Getting Started with GitHub Copilot

Learn how to make the most of GitHub Copilot across its different interfaces—autocomplete, inline, chat modes, and Agent mode. Discover when to use each feature, how to guide Copilot effectively, and how to unlock its full potential for both quick fixes and complex, multi-file tasks.
开始章节
2

The Science of Context

Enhance Copilot’s accuracy by guiding it with context, chat variables, and expert participants. Learn to combine these features with slash commands and smart actions to streamline debugging, code reviews, and project navigation. Gain practical techniques that transform Copilot into a more reliable and efficient coding partner.
开始章节
3

Customizing and Extending Copilot

Learn how to shape Copilot’s behavior with custom instructions and model selection. Define coding standards, enforce project or organization-wide conventions, and choose the right AI model for speed, reasoning, or multi-file tasks. Gain control over how Copilot adapts to your workflow.
开始章节
使用 GitHub Copilot 进行软件开发
课程完成

获得成就证明

将此证书添加到您的 LinkedIn 档案、简历或履历中
在社交媒体和绩效评估中分享
立即注册

加入超过19百万学习者,今天就开始使用 GitHub Copilot 进行软件开发!

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

通过 DataCamp for Mobile 提升您的数据技能

随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。