Skip to main content

访问 GitHub Copilot Free

了解如何在 IDE、GitHub Mobile 或 GitHub.com 中访问 Copilot Free。

可通过多种方式访问 Copilot Free。

  • Visual Studio 和 VS Code
  • GitHub.com
  • GitHub Mobile
  • 其他 IDE

有关 Copilot Free 中可用功能的更多信息,请参阅关于 Copilot Free

Visual Studio 和 VS Code

在 Visual Studio 和 VS Code 中,可以直接从编辑器访问 Copilot Free。

  1. 在 Visual Studio 或 VS Code 的右上角,单击“”****。
  2. 在边栏中,单击“Sign up for Copilot Free”****。
  3. 如果你有 GitHub 帐户,系统会提示你登录。 如果你没有 GitHub 帐户,系统会提示你创建一个。

GitHub.com

使用 Copilot Free,可以在 GitHub 的聊天界面中向 Copilot 提问。

  1. 登录后若要访问个人仪表板,请单击 GitHub 上任何页面左上角的
  2. 在仪表板顶部,使用“Ask a question”框与 Copilot 开始聊天。

GitHub Mobile

在 GitHub Mobile 中开始与 Copilot 聊天时,将自动订阅 Copilot Free。

  1. 在 GitHub Mobile 中,点击屏幕右下角的 GitHub Copilot 图标。

    Note

    GitHub Mobile 中的每个页面上并非都会显示 GitHub Copilot 图标。 如果看不到此图标,请导航到 GitHub Mobile 中的其他页面,并在那里寻找此图标。

  2. 在页面的底部,使用“Ask Copilot”框,开始与 Copilot 聊天。

或者,转到 GitHub Mobile 中的“Settings”,然后在 Copilot 设置下,单击“Get started for Free”****。

其他 IDE

要在其他 IDE 中使用 Copilot Free,首先需要在 Copilot Free 的 GitHub 帐户设置中激活它。

  1. 在 GitHub 任意页面的右上角,单击个人资料照片,然后单击“ 您的 Copilot”****。
  2. 单击“Start using Copilot Free”,激活 Copilot Free 并打开对话线程****。
  3. 单击“Use Copilot in other IDEs”并按照 IDE 中的说明操作****。