1
0
mirror of synced 2026-01-02 03:04:13 -05:00
Files
docs/translations/zh-CN/content/codespaces/codespaces-reference/using-github-copilot-in-github-codespaces.md
2022-09-12 16:34:54 +00:00

2.0 KiB

title, intro, versions, type, topics, product, shortTitle, redirect_from, ms.openlocfilehash, ms.sourcegitcommit, ms.translationtype, ms.contentlocale, ms.lasthandoff, ms.locfileid
title intro versions type topics product shortTitle redirect_from ms.openlocfilehash ms.sourcegitcommit ms.translationtype ms.contentlocale ms.lasthandoff ms.locfileid
在 GitHub Codespaces 中使用 GitHub Copilot 可以通过添加扩展在 {% data variables.product.prodname_github_codespaces %} 中使用 Copilot。
fpt ghec
* *
reference
Codespaces
Copilot
Visual Studio Code
{% data reusables.gated-features.codespaces %} Copilot in Codespaces
/codespaces/codespaces-reference/using-copilot-in-codespaces
/codespaces/codespaces-reference/using-github-copilot-in-codespaces
e31b0816a804ce9d7290bf1afd648631f3bb99a3 47bd0e48c7 HT zh-CN 09/05/2022 147111463

使用 {% data variables.product.prodname_copilot %}

{% data variables.product.prodname_copilot %} 是 AI 结对程序员,可用于任何 codespace。 若要开始在 {% data variables.product.prodname_github_codespaces %} 中使用 {% data variables.product.prodname_copilot_short %},请安装 {% data variables.product.prodname_vscode_marketplace %} 中的 {% data variables.product.prodname_copilot_short %} 扩展

若要在所有 codespace 中包含 {% data variables.product.prodname_copilot_short %} 或其他扩展,请启用“设置同步”。有关详细信息,请参阅“为帐户个性化 {% data variables.product.prodname_github_codespaces %}”。 此外,若要在所有用户的给定项目中加入 {% data variables.product.prodname_copilot_short %},可以将 GitHub.copilot 指定为 devcontainer.json 文件中的扩展。 有关配置 devcontainer.json 文件的信息,请参阅“开发容器简介”。