Skip to main content

使用 GitHub Copilot

使用 GitHub Copilot 提高工作效率。

Getting code suggestions in your IDE with GitHub Copilot

Use GitHub Copilot to get code suggestions in your editor.

Asking GitHub Copilot questions in your IDE

Use Copilot Chat in your editor to give code suggestions, explain code, generate unit tests, and suggest code fixes.

Asking GitHub Copilot questions in GitHub.com

You can use GitHub Copilot Chat in GitHub.com to answer general questions about software development, or specific questions about the issues or code in a repository.

Asking GitHub Copilot questions in GitHub Mobile

You can use GitHub Copilot Chat in GitHub Mobile to answer general questions about software development, or specific questions about the code in a repository.

使用 GitHub Copilot 创建拉取请求摘要

可以在拉取请求的描述中生成摘要,也可以生成摘要作为注释。

Using GitHub Copilot in the command line

You can use Copilot with the GitHub CLI to get suggestions and explanations for the command line.

GitHub Copilot 的提示设计

按照以下策略改进 Copilot 结果。

Using extensions to integrate external tools with Copilot Chat

You can use GitHub Copilot Extensions to interact with external tools in GitHub Copilot Chat.

查找与 GitHub Copilot 建议匹配的公开代码

如果允许 GitHub Copilot 提供与可以公开获取的代码匹配的建议,则可以看到对 GitHub.com 上匹配的代码的参考。