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 Mobile

You can use GitHub Copilot Chat in GitHub Mobile to answer general questions about software development.

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 上匹配的代码的参考。