New translation batch for cn (#28844)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-files-with-broken-liquid-tags.js --language=cn * run script/i18n/reset-known-broken-translation-files.js * Check in cn CSV report
This commit is contained in:
@@ -190,7 +190,9 @@ translations/zh-CN/content/codespaces/troubleshooting/troubleshooting-your-conne
|
||||
translations/zh-CN/content/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam.md,broken liquid tags
|
||||
translations/zh-CN/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md,broken liquid tags
|
||||
translations/zh-CN/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md,broken liquid tags
|
||||
translations/zh-CN/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code.md,broken liquid tags
|
||||
translations/zh-CN/content/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio.md,broken liquid tags
|
||||
translations/zh-CN/content/copilot/quickstart.md,broken liquid tags
|
||||
translations/zh-CN/content/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/adding-an-existing-project-to-github-using-github-desktop.md,broken liquid tags
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/configuring-and-customizing-github-desktop/about-git-large-file-storage-and-github-desktop.md,broken liquid tags
|
||||
translations/zh-CN/content/desktop/installing-and-configuring-github-desktop/installing-and-authenticating-to-github-desktop/about-connections-to-github.md,broken liquid tags
|
||||
|
||||
|
@@ -69,7 +69,7 @@ jobs:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: build
|
||||
```
|
||||
@@ -105,7 +105,7 @@ steps:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Run the Gradle package task
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: -b ci.gradle package
|
||||
```
|
||||
@@ -136,7 +136,7 @@ steps:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: build
|
||||
- uses: {% data reusables.actions.action-upload-artifact %}
|
||||
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Publish package
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: publish
|
||||
env:
|
||||
@@ -167,7 +167,7 @@ jobs:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Publish package
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: publish
|
||||
env:
|
||||
@@ -246,7 +246,7 @@ jobs:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||
- name: Publish package
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
|
||||
with:
|
||||
arguments: publish
|
||||
env: {% raw %}
|
||||
|
||||
@@ -88,13 +88,13 @@ jobs:
|
||||
|
||||
Windows 和 Linux 虚拟机的硬件规格:
|
||||
- 2 核 CPU
|
||||
- 7 GB RAM 内存
|
||||
- 14 GB SSD 硬盘空间
|
||||
- 7 GB of RAM
|
||||
- 14 GB of SSD space
|
||||
|
||||
MacOS 虚拟机的硬件规格:
|
||||
- 3 核 CPU
|
||||
- 14 GB RAM 内存
|
||||
- 14 GB SSD 硬盘空间
|
||||
- 14 GB of RAM
|
||||
- 14 GB of SSD space
|
||||
|
||||
{% data reusables.actions.supported-github-runners %}
|
||||
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
---
|
||||
title: Managing your GitHub Copilot subscription
|
||||
intro: 'Set up your {% data variables.product.prodname_copilot %} trial and manage your subscription.'
|
||||
title: 管理您的 GitHub Copilot 订阅
|
||||
intro: '设置 {% data variables.product.prodname_copilot %} 试用版并管理订阅。'
|
||||
versions:
|
||||
feature: copilot
|
||||
type: how_to
|
||||
topics:
|
||||
- Copilot
|
||||
shortTitle: Your GitHub Copilot subscription
|
||||
shortTitle: 您的 GitHub Copilot 订阅
|
||||
---
|
||||
|
||||
## Setting up a trial of {% data variables.product.prodname_copilot %}
|
||||
## 设置 {% data variables.product.prodname_copilot %} 的试用版
|
||||
|
||||
{% data reusables.copilot.signup-procedure %}
|
||||
|
||||
## Modifying your {% data variables.product.prodname_copilot %} subscription
|
||||
## 修改 {% data variables.product.prodname_copilot %} 订阅
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.billing_plans %}
|
||||
1. In the "{% data variables.product.prodname_copilot %}" section, select the **Edit** dropdown.
|
||||
- If you are on a monthly billing cycle, select **Change to yearly billing**.
|
||||
- If you are on a yearly billing cycle, select **Change to monthly billing**. 
|
||||
1. 在“{% data variables.product.prodname_copilot %}”部分中,选择 **Edit(编辑)**下拉列表。
|
||||
- 如果您处于按月计费周期,请选择 **Change to yearly billing(更改为按年计费)**。
|
||||
- 如果您处于年度计费周期,请选择 **Change to monthly billing(更改为按月计费)**。 
|
||||
|
||||
|
||||
## Canceling your {% data variables.product.prodname_copilot %} subscription
|
||||
## 取消 {% data variables.product.prodname_copilot %} 订阅
|
||||
|
||||
You can cancel your {% data variables.product.prodname_copilot %} subscription at any time. If you cancel during your 60 day trial, you won't be charged. If you do not cancel your {% data variables.product.prodname_copilot %} subscription before the end of the 60 day trial, you will be charged according to the billing cycle you selected when setting up the trial.
|
||||
您可以随时取消 {% data variables.product.prodname_copilot %} 订阅。 如果您在 60 天试用期内取消,则不会向您收取费用。 如果您在 60 天试用期结束前未取消 {% data variables.product.prodname_copilot %} 订阅,我们将根据您在设置试用期时选择的计费周期向您收费。
|
||||
|
||||
{% data reusables.user-settings.access_settings %}
|
||||
{% data reusables.user-settings.billing_plans %}
|
||||
1. In the "{% data variables.product.prodname_copilot %}" section, select the **Edit** dropdown.
|
||||
- If you have a paid subscription, click **Cancel {% data variables.product.prodname_copilot %}**.
|
||||
1. 在“{% data variables.product.prodname_copilot %}”部分中,选择 **Edit(编辑)**下拉列表。
|
||||
- 如果您有付费订阅,请单击“ **取消 {% data variables.product.prodname_copilot %}**”。
|
||||
|
||||

|
||||

|
||||
|
||||
- If you are within your 60 day trial period, click **Cancel trial**. 
|
||||
- 如果您在 60 天试用期内,请单击 **Cancel trial(取消试用)**。 
|
||||
|
||||
2. In the "Cancel {% data variables.product.prodname_copilot %}" modal, click **I understand, cancel {% data variables.product.prodname_copilot %}**
|
||||
2. 在“取消 {% data variables.product.prodname_copilot %}”模式中,单击**我了解,取消 {% data variables.product.prodname_copilot %}**
|
||||
|
||||

|
||||

|
||||
|
||||
- If you are within your 60 day trial period, click **I understand, cancel {% data variables.product.prodname_copilot %} trial**.
|
||||
- 如果您在 60 天试用期内,请单击**我了解,取消 {% data variables.product.prodname_copilot %} 试用**。
|
||||
|
||||

|
||||

|
||||
|
||||
## 延伸阅读
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Configuring automatic deletion of your codespaces
|
||||
shortTitle: Configure automatic deletion
|
||||
title: 配置代码空间的自动删除
|
||||
shortTitle: 配置自动删除
|
||||
intro: 'Unused codespaces are automatically deleted. You can choose how long your stopped codespaces are retained, up to a maximum of 30 days.'
|
||||
product: '{% data reusables.gated-features.codespaces %}'
|
||||
versions:
|
||||
|
||||
@@ -70,7 +70,7 @@ The retention period constraint is only applied to codespaces when they are crea
|
||||
|
||||
## 删除策略
|
||||
|
||||
You can delete a policy at any time. Deleting a policy has no effect on existing codespaces.
|
||||
您可以随时删除策略。 删除策略对现有代码空间没有影响。
|
||||
|
||||
1. 显示“Codespace policies(代码空间策略)”页。 For more information, see "[Adding a policy to set a maximum codespace retention period](#adding-a-policy-to-set-a-maximum-codespace-retention-period)."
|
||||
1. 单击要删除的策略右侧的删除按钮。
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Configuring GitHub Copilot in a JetBrains IDE
|
||||
intro: 'You can enable, configure, and disable {% data variables.product.prodname_copilot %} in a JetBrains IDE.'
|
||||
title: 在 JetBrains IDE 中配置 GitHub Copilot
|
||||
intro: '您可以在 JetBrains IDE 中启用、配置和禁用 {% data variables.product.prodname_copilot %}。'
|
||||
product: '{% data reusables.gated-features.copilot %}'
|
||||
topics:
|
||||
- Copilot
|
||||
@@ -9,28 +9,28 @@ versions:
|
||||
shortTitle: JetBrains
|
||||
---
|
||||
|
||||
## About {% data variables.product.prodname_copilot %} in JetBrains IDEs
|
||||
## 关于 JetBrains IDE 中的 {% data variables.product.prodname_copilot %}
|
||||
|
||||
If you use a Jetbrains IDE, {% data variables.product.prodname_copilot %} can autocomplete code as you type. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within your IDE or on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
如果使用 Jetbrains IDE, {% data variables.product.prodname_copilot %} 可以在键入时自动完成代码。 安装后,可以启用或禁用 {% data variables.product.prodname_copilot %},并且可以在 IDE 中或 {% data variables.product.prodname_dotcom_the_website %} 上配置高级设置。
|
||||
|
||||
## 基本要求
|
||||
|
||||
To configure {% data variables.product.prodname_copilot %} in a JetBrains IDE, you must install the {% data variables.product.prodname_copilot %} plugin. For more information, see "[Getting started with {% data variables.product.prodname_copilot %} in a JetBrains IDE](/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide)."
|
||||
要在 JetBrains IDE 中配置 {% data variables.product.prodname_copilot %} ,必须安装 {% data variables.product.prodname_copilot %} 插件。 更多信息请参阅“[JetBrains IDE中的 {% data variables.product.prodname_copilot %} 使用入门](/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-a-jetbrains-ide)”。
|
||||
|
||||
## {% data variables.product.prodname_copilot %} 的键盘快捷键
|
||||
|
||||
You can use the default keyboard shortcuts for inline suggestions in your JetBrains IDE when using {% data variables.product.prodname_copilot %}. Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command. For more information on rebinding keyboard shortcuts in your JetBrains IDE, see the JetBrains documentation. For example, you can view the [IntelliJ IDEA](https://www.jetbrains.com/help/idea/mastering-keyboard-shortcuts.html#choose-keymap) documentation.
|
||||
使用 {% data variables.product.prodname_copilot %} 时,您可以在 JetBrains IDE 中对内联建议使用默认键盘快捷键。 Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command. For more information on rebinding keyboard shortcuts in your JetBrains IDE, see the JetBrains documentation. For example, you can view the [IntelliJ IDEA](https://www.jetbrains.com/help/idea/mastering-keyboard-shortcuts.html#choose-keymap) documentation.
|
||||
|
||||
{% mac %}
|
||||
|
||||
| 操作 | 快捷键 |
|
||||
|:-------------------------------------------------------------- |:---------------------------------------------- |
|
||||
| 接受内联建议 | <kbd>Tab</kbd> |
|
||||
| 忽略内联建议 | <kbd>Esc</kbd> |
|
||||
| 显示下一个内联建议 | <kbd>Option (⌥) or Alt</kbd>+<kbd>]</kbd> |
|
||||
| 显示上一个内联建议 | <kbd>Option (⌥) or Alt</kbd>+<kbd>[</kbd> |
|
||||
| 触发内联建议 | <kbd>Option (⌥)</kbd>+<kbd>\</kbd> |
|
||||
| 打开 {% data variables.product.prodname_copilot %} (其他建议在单独的窗格中) | <kbd>Option (⌥) or Alt</kbd>+<kbd>Return</kbd> |
|
||||
| 操作 | 快捷键 |
|
||||
|:-------------------------------------------------------------- |:--------------------------------------------- |
|
||||
| 接受内联建议 | <kbd>Tab</kbd> |
|
||||
| 忽略内联建议 | <kbd>Esc</kbd> |
|
||||
| 显示下一个内联建议 | <kbd>Option (⌥) 或 Alt</kbd>+<kbd>]</kbd> |
|
||||
| 显示上一个内联建议 | <kbd>Option (⌥) 或 Alt</kbd>+<kbd>[</kbd> |
|
||||
| 触发内联建议 | <kbd>Option (⌥)</kbd>+<kbd>\</kbd> |
|
||||
| 打开 {% data variables.product.prodname_copilot %} (其他建议在单独的窗格中) | <kbd>Option (⌥) 或 Alt</kbd>+<kbd>Return</kbd> |
|
||||
|
||||
{% endmac %}
|
||||
|
||||
@@ -62,10 +62,10 @@ You can use the default keyboard shortcuts for inline suggestions in your JetBra
|
||||
|
||||
## 启用或禁用 {% data variables.product.prodname_copilot %}
|
||||
|
||||
You can enable or disable {% data variables.product.prodname_copilot %} from within your JetBrains IDE. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. 启用后,该图标将突出显示。 禁用后,图标将灰显。
|
||||
您可以从 JetBrains IDE 中启用或禁用 {% data variables.product.prodname_copilot %}。 The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. 启用后,该图标将突出显示。 禁用后,图标将灰显。
|
||||
|
||||
1. 要启用或禁用 {% data variables.product.prodname_copilot %},请单击 JetBrains 窗口底部面板中的状态图标。 
|
||||
2. 如果要禁用 {% data variables.product.prodname_copilot %},系统将询问您是要全局禁用它,还是要禁用当前正在编辑的文件的语言。 To disable globally, click **Disable Completions**. Alternatively, click the language-specific button to disable {% data variables.product.prodname_copilot %} for the specified language. 
|
||||
2. 如果要禁用 {% data variables.product.prodname_copilot %},系统将询问您是要全局禁用它,还是要禁用当前正在编辑的文件的语言。 要全局禁用,请单击 **Disable Completions(禁用完成)**。 或者,单击特定于语言的按钮以禁用指定语言的 {% data variables.product.prodname_copilot %}。 
|
||||
|
||||
## Configuring advanced settings for {% data variables.product.prodname_copilot %}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Configuring GitHub Copilot in Neovim
|
||||
intro: 'You can enable, configure, and disable {% data variables.product.prodname_copilot %} in Neovim.'
|
||||
title: 在 Neovim 中配置 GitHub Copilot
|
||||
intro: '您可以在 Neovim 中启用、配置和禁用 {% data variables.product.prodname_copilot %}。'
|
||||
product: '{% data reusables.gated-features.copilot %}'
|
||||
versions:
|
||||
feature: copilot
|
||||
@@ -9,9 +9,9 @@ topics:
|
||||
shortTitle: Neovim
|
||||
---
|
||||
|
||||
## Configuring {% data variables.product.prodname_copilot %} in Neovim
|
||||
## 在 Neovim 中配置 {% data variables.product.prodname_copilot %}
|
||||
|
||||
For guidance on configuring {% data variables.product.prodname_copilot %} in Neovim, invoke the {% data variables.product.prodname_copilot %} documentation in Neovim by running the following command.
|
||||
有关在 Neovim 中配置 {% data variables.product.prodname_copilot %} 的指南,请通过运行以下命令调用 Neovim 中的 {% data variables.product.prodname_copilot %} 文档。
|
||||
|
||||
:help copilot
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Configuring GitHub Copilot
|
||||
shortTitle: Configure GitHub Copilot
|
||||
intro: 'You can enable, configure, or disable {% data variables.product.prodname_copilot %} in a supported IDE.'
|
||||
title: 配置 GitHub Copilot
|
||||
shortTitle: 配置 GitHub Copilot
|
||||
intro: '您可以在受支持的 IDE 中启用、配置或禁用 {% data variables.product.prodname_copilot %}。'
|
||||
versions:
|
||||
feature: copilot
|
||||
topics:
|
||||
|
||||
@@ -74,7 +74,7 @@ To use {% data variables.product.prodname_copilot %} in Neovim you must have Neo
|
||||
|
||||
## Learning to use {% data variables.product.prodname_copilot %} in Neovim
|
||||
|
||||
For guidance on using {% data variables.product.prodname_copilot %} in Neovim, you can view the plugin documentation. To see the documentation, open Neovim and run the following command.
|
||||
For guidance on using {% data variables.product.prodname_copilot %} in Neovim, you can view the plugin documentation. 要查看文档,请打开 Neovim 并运行以下命令。
|
||||
```
|
||||
:help copilot ```
|
||||
|
||||
|
||||
@@ -4,18 +4,18 @@ shortTitle: Visual Studio Code
|
||||
intro: 'Learn how to install {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, and start seeing suggestions as you write comments and code.'
|
||||
product: '{% data reusables.gated-features.copilot %}'
|
||||
versions:
|
||||
feature: copilot
|
||||
topics:
|
||||
feature: 'copilot'
|
||||
topics:
|
||||
- Copilot
|
||||
---
|
||||
|
||||
## 关于 {% data variables.product.prodname_copilot %} 与 {% data variables.product.prodname_vscode %}
|
||||
## About {% data variables.product.prodname_copilot %} and {% data variables.product.prodname_vscode %}
|
||||
|
||||
{% data reusables.copilot.procedural-intro %}
|
||||
|
||||
If you use {% data variables.product.prodname_vscode %}, you can view and incorporate suggestions from {% data variables.product.prodname_copilot %} directly within the editor. This guide demonstrates how to use {% data variables.product.prodname_copilot %} within {% data variables.product.prodname_vscode %} for macOS, Windows, or Linux.
|
||||
|
||||
## 基本要求
|
||||
## Prerequisites
|
||||
|
||||
To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, you must have {% data variables.product.prodname_vscode %} installed. For more information, see the [{% data variables.product.prodname_vscode %} download page](https://code.visualstudio.com/Download).
|
||||
|
||||
@@ -23,73 +23,76 @@ To use {% data variables.product.prodname_copilot %} in {% data variables.produc
|
||||
|
||||
To use {% data variables.product.prodname_copilot %}, you must first install the {% data variables.product.prodname_vscode %} extension.
|
||||
|
||||
1. In the {% data variables.product.prodname_vscode %} Marketplace, go to the [{% data variables.product.prodname_copilot %} extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) page and click **Install**. 
|
||||
1. In the {% data variables.product.prodname_vscode %} Marketplace, go to the [{% data variables.product.prodname_copilot %} extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) page and click **Install**.
|
||||

|
||||
1. A popup will appear, asking to open {% data variables.product.prodname_vscode %}. Click **Open {% data variables.product.prodname_vscode %}**.
|
||||
1. In the "Extension: {% data variables.product.prodname_copilot %}" tab in {% data variables.product.prodname_vscode %}, click **Install**. 
|
||||
1. In the "Extension: {% data variables.product.prodname_copilot %}" tab in {% data variables.product.prodname_vscode %}, click **Install**.
|
||||

|
||||
1. If you have not previously authorized {% data variables.product.prodname_vscode %} in your {% data variables.product.prodname_dotcom %} account, you will be prompted to sign in to {% data variables.product.prodname_dotcom %} in {% data variables.product.prodname_vscode %}.
|
||||
- If you have previously authorized {% data variables.product.prodname_vscode %} for your account on {% data variables.product.prodname_dotcom %}, {% data variables.product.prodname_copilot %} will be automatically authorized. 
|
||||
- If you have previously authorized {% data variables.product.prodname_vscode %} for your account on {% data variables.product.prodname_dotcom %}, {% data variables.product.prodname_copilot %} will be automatically authorized.
|
||||

|
||||
1. In your browser, {% data variables.product.prodname_dotcom %} will request the necessary permissions for {% data variables.product.prodname_copilot %}. To approve these permissions, click **Authorize {% data variables.product.prodname_vscode %}**.
|
||||
1. In {% data variables.product.prodname_vscode %}, in the "{% data variables.product.prodname_vscode %}" dialog box, to confirm the authentication, click **Open**.
|
||||
|
||||
|
||||
|
||||
## 看到您的第一个建议
|
||||
## Seeing your first suggestion
|
||||
|
||||
{% data reusables.copilot.supported-languages %} The following samples are in JavaScript, but other languages will work similarly.
|
||||
|
||||
{% data reusables.copilot.create-js-file %}
|
||||
1. In the JavaScript file, type the following function header. {% data variables.product.prodname_copilot %} 将自动以灰色文本建议整个函数体,如下所示。 确切的建议可能会有所不同。
|
||||
1. In the JavaScript file, type the following function header. {% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text, as shown below. The exact suggestion may vary.
|
||||
```javascript{:copy}
|
||||
function calculateDaysBetweenDates(begin, end) {
|
||||
```
|
||||

|
||||
{% data reusables.copilot.accept-suggestion %}
|
||||
|
||||
## 查看替代建议
|
||||
## Seeing alternative suggestions
|
||||
|
||||
{% data reusables.copilot.alternative-suggestions %}
|
||||
|
||||
{% data reusables.copilot.create-js-file %}
|
||||
1. In the JavaScript file, type the following function header. {% data variables.product.prodname_copilot %} 会给你一个建议。
|
||||
1. In the JavaScript file, type the following function header. {% data variables.product.prodname_copilot %} will show you a suggestion.
|
||||
```javascript{:copy}
|
||||
function calculateDaysBetweenDates(begin, end) {
|
||||
```
|
||||
{% data reusables.copilot.see-alternative-suggestions %}
|
||||
|
||||
| 操作系统 | 查看下一个建议 | 查看以前的建议 |
|
||||
|:------- |:----------------------------------------- |:----------------------------------------- |
|
||||
| macOS | <kbd>Option (⌥) or Alt</kbd>+<kbd>]</kbd> | <kbd>Option (⌥) or Alt</kbd>+<kbd>[</kbd> |
|
||||
| Windows | <kbd>Alt</kbd>+<kbd>]</kbd> | <kbd>Alt</kbd>+<kbd>[</kbd> |
|
||||
| Linux | <kbd>Alt</kbd>+<kbd>]</kbd> | <kbd>Alt</kbd>+<kbd>[</kbd> |
|
||||
| OS | See next suggestion | See previous suggestion |
|
||||
| :- | :- | :- |
|
||||
|macOS|<kbd>Option (⌥) or Alt</kbd>+<kbd>]</kbd>|<kbd>Option (⌥) or Alt</kbd>+<kbd>[</kbd>|
|
||||
|Windows|<kbd>Alt</kbd>+<kbd>]</kbd>|<kbd>Alt</kbd>+<kbd>[</kbd>|
|
||||
|Linux|<kbd>Alt</kbd>+<kbd>]</kbd>|<kbd>Alt</kbd>+<kbd>[</kbd>|
|
||||
1. Alternatively, you can hover over the suggestion to see the {% data variables.product.prodname_copilot %} command palette for choosing suggestions.
|
||||
{% data reusables.copilot.accept-or-reject-suggestion %}
|
||||
|
||||
## 在新选项卡中查看多个建议
|
||||
## Seeing multiple suggestions in a new tab
|
||||
|
||||
{% data reusables.copilot.suggestions-new-tab %}
|
||||
|
||||
{% data reusables.copilot.create-js-file %}
|
||||
1. In the JavaScript file, type the following function header. {% data variables.product.prodname_copilot %} 会给你一个建议。
|
||||
1. In the JavaScript file, type the following function header. {% data variables.product.prodname_copilot %} will show you a suggestion.
|
||||
```javascript{:copy}
|
||||
function calculateDaysBetweenDates(begin, end) {
|
||||
```
|
||||
1. 要打开包含多个其他选项的新选项卡,请按 <kbd>Ctrl</kbd>+<kbd>Enter</kbd>。
|
||||
1. 若要接受建议,请在建议上方单击 **Accept Solution(接受解决方案)**。 若要拒绝所有建议,请关闭该选项卡。
|
||||
1. To open a new tab with multiple additional options, press <kbd>Ctrl</kbd>+<kbd>Enter</kbd>.
|
||||
1. To accept a suggestion, above the suggestion, click **Accept Solution**. To reject all suggestions, close the tab.
|
||||
|
||||
## 从注释生成代码建议
|
||||
## Generating code suggestions from comments
|
||||
|
||||
{% data reusables.copilot.generating-suggestions-from-comments %}
|
||||
|
||||
{% data reusables.copilot.create-js-file %}
|
||||
1. 在 JavaScript 文件中,键入以下注释。 {% data variables.product.prodname_copilot %} 将建议该函数的实现。
|
||||
1. In the JavaScript file, type the following comment. {% data variables.product.prodname_copilot %} will suggest an implementation of the function.
|
||||
```javascript{:copy}
|
||||
// find all images without alternate text
|
||||
// and give them a red border
|
||||
function process() {
|
||||
```
|
||||
|
||||
## 使用框架
|
||||
## Using a framework
|
||||
|
||||
您还可以使用 {% data variables.product.prodname_copilot %} 来生成 API 和框架的建议。 The following example uses {% data variables.product.prodname_copilot %} to create a simple Express server that returns the current time.
|
||||
You can also use {% data variables.product.prodname_copilot %} to generate suggestions for APIs and frameworks. The following example uses {% data variables.product.prodname_copilot %} to create a simple Express server that returns the current time.
|
||||
|
||||
{% data reusables.copilot.create-js-file %}
|
||||
1. In the JavaScript file, type the following comment and then press <kbd>Enter</kbd>. {% data variables.product.prodname_copilot %} will suggest an implementation of the Express app.
|
||||
@@ -104,6 +107,6 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
|
||||
|
||||
{% data reusables.copilot.enabling-or-disabling-in-vsc %}
|
||||
|
||||
## 延伸阅读
|
||||
## Further reading
|
||||
|
||||
- [{% data variables.product.prodname_copilot %}](https://copilot.github.com/)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Getting started with GitHub Copilot
|
||||
shortTitle: Get started with GitHub Copilot
|
||||
intro: 'You can start using {% data variables.product.prodname_copilot %} by installing the extension in your preferred environment.'
|
||||
title: GitHub Copilot 使用入门
|
||||
shortTitle: GitHub Copilot 使用入门
|
||||
intro: '您可以通过在首选环境中安装扩展来开始使用 {% data variables.product.prodname_copilot %}。'
|
||||
versions:
|
||||
feature: copilot
|
||||
topics:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: GitHub Copilot
|
||||
shortTitle: GitHub Copilot
|
||||
intro: 'You can use {% data variables.product.prodname_copilot %} to get autocomplete-style suggestions from an AI pair programmer as you code.'
|
||||
intro: '您可以使用 {% data variables.product.prodname_copilot %} 在编写代码时从 AI 对程序员处获取自动完成样式的建议。'
|
||||
redirect_from:
|
||||
- /github/copilot
|
||||
changelog:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Overview of GitHub Copilot
|
||||
shortTitle: Overview of GitHub Copilot
|
||||
intro: 'Learn about {% data variables.product.prodname_copilot %}, including use cases and terms that govern {% data variables.product.prodname_copilot %} data.'
|
||||
title: GitHub Copilot 概述
|
||||
shortTitle: GitHub Copilot 概述
|
||||
intro: '了解 {% data variables.product.prodname_copilot %},包括管理 {% data variables.product.prodname_copilot %} 数据的用例和术语。'
|
||||
versions:
|
||||
feature: copilot
|
||||
topics:
|
||||
|
||||
@@ -4,24 +4,24 @@ intro: '{% data variables.product.prodname_copilot %} can help you work, by offe
|
||||
product: '{% data reusables.gated-features.copilot %}'
|
||||
allowTitleToDifferFromFilename: true
|
||||
versions:
|
||||
feature: copilot
|
||||
shortTitle: 快速入门
|
||||
feature: 'copilot'
|
||||
shortTitle: Quickstart
|
||||
topics:
|
||||
- Copilot
|
||||
---
|
||||
|
||||
## 简介
|
||||
## Introduction
|
||||
|
||||
{% data variables.product.prodname_copilot %} is an AI pair programmer. You can use {% data variables.product.prodname_copilot %} to get suggestions for whole lines or entire functions right inside your editor.
|
||||
|
||||
This guide will show you how to sign up for {% data variables.product.prodname_copilot %}, install the {% data variables.product.prodname_copilot %} extension in {% data variables.product.prodname_vscode %}, and get your first suggestion. For more information on {% data variables.product.prodname_copilot %}, see "[About {% data variables.product.prodname_copilot %}](/copilot/overview-of-github-copilot/about-github-copilot)." For more in-depth information on how to use {% data variables.product.prodname_copilot %} in a variety of environments, see "[Getting Started](/copilot/getting-started-with-github-copilot)."
|
||||
|
||||
## 基本要求
|
||||
## Prerequisites
|
||||
|
||||
{% data reusables.copilot.copilot-prerequisites %}
|
||||
- To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, you must have {% data variables.product.prodname_vscode %} installed. For more information, see the [{% data variables.product.prodname_vscode %}](https://code.visualstudio.com/) documentation.
|
||||
|
||||
## 注册 {% data variables.product.prodname_copilot %}
|
||||
## Signing up for {% data variables.product.prodname_copilot %}
|
||||
|
||||
{% data reusables.copilot.signup-procedure %}
|
||||
|
||||
@@ -29,13 +29,16 @@ This guide will show you how to sign up for {% data variables.product.prodname_c
|
||||
|
||||
To use {% data variables.product.prodname_copilot %}, you must first install the {% data variables.product.prodname_vscode %} extension.
|
||||
|
||||
1. In the {% data variables.product.prodname_vscode %} Marketplace, go to the [{% data variables.product.prodname_copilot %} extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) page and click **Install**. 
|
||||
1. In the {% data variables.product.prodname_vscode %} Marketplace, go to the [{% data variables.product.prodname_copilot %} extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) page and click **Install**.
|
||||

|
||||
1. A popup will appear, asking to open {% data variables.product.prodname_vscode %}. Click **Open {% data variables.product.prodname_vscode %}**.
|
||||
1. In the "Extension: {% data variables.product.prodname_copilot %}" tab in {% data variables.product.prodname_vscode %}, click **Install**. 
|
||||
1. In the "Extension: {% data variables.product.prodname_copilot %}" tab in {% data variables.product.prodname_vscode %}, click **Install**.
|
||||

|
||||
1. If you have not previously authorized {% data variables.product.prodname_vscode %} in your {% data variables.product.prodname_dotcom %} account, you will be prompted to sign in to {% data variables.product.prodname_dotcom %} in {% data variables.product.prodname_vscode %}.
|
||||
- If you have previously authorized {% data variables.product.prodname_vscode %} in your {% data variables.product.prodname_dotcom %} account, {% data variables.product.prodname_copilot %} will be automatically authorized. 
|
||||
1. In your browser, {% data variables.product.prodname_dotcom %} will request the necessary permissions for {% data variables.product.prodname_copilot %}. To approve these permissions, click **Authorize {% data variables.product.prodname_vscode %}**.
|
||||
1. In {% data variables.product.prodname_vscode %}, in the "{% data variables.product.prodname_vscode %}" dialogue box, to confirm the authentication, click **Open**.
|
||||
- If you have previously authorized {% data variables.product.prodname_vscode %} in your {% data variables.product.prodname_dotcom %} account, {% data variables.product.prodname_copilot %} will be automatically authorized.
|
||||

|
||||
1. In your browser, {% data variables.product.prodname_dotcom %} will request the necessary permissions for {% data variables.product.prodname_copilot %}. To approve these permissions, click **Authorize {% data variables.product.prodname_vscode %}**.
|
||||
1. In {% data variables.product.prodname_vscode %}, in the "{% data variables.product.prodname_vscode %}" dialogue box, to confirm the authentication, click **Open**.
|
||||
|
||||
## Getting your first suggestion
|
||||
|
||||
@@ -44,19 +47,19 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
|
||||
1. Open {% data variables.product.prodname_vscode %}.
|
||||
{% data reusables.copilot.create-js-file %}
|
||||
{% data reusables.copilot.type-function-header %}
|
||||
{% data variables.product.prodname_copilot %} 将自动以灰色文本建议整个函数体,如下所示。 确切的建议可能会有所不同。
|
||||
{% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text, as shown below. The exact suggestion may vary.
|
||||

|
||||
{% data reusables.copilot.accept-suggestion %}
|
||||
|
||||
## 后续步骤
|
||||
## Next Steps
|
||||
|
||||
You successfully installed {% data variables.product.prodname_copilot %} and received your first suggestion, but that's just the beginning! 以下是一些帮助您对 {% data variables.product.prodname_copilot %} 执行后续操作的有用资源:
|
||||
You successfully installed {% data variables.product.prodname_copilot %} and received your first suggestion, but that's just the beginning! Here are some helpful resources for taking your next steps with {% data variables.product.prodname_copilot %}.
|
||||
|
||||
- [Getting Started](/copilot/getting-started-with-github-copilot): You've learned how to get your first suggestion in {% data variables.product.prodname_vscode %}. These guides show you how to set up and navigate the various functions of {% data variables.product.prodname_copilot %} across all of the supported environments.
|
||||
- [{% data variables.product.prodname_copilot %}](https://copilot.github.com/): See practical examples of how {% data variables.product.prodname_copilot %} can help you work.
|
||||
- [Configuring {% data variables.product.prodname_copilot %}](/copilot/configuring-github-copilot): These guides provide details on how to configure {% data variables.product.prodname_copilot %} to your personal preferences.
|
||||
|
||||
|
||||
## 延伸阅读
|
||||
## Further reading
|
||||
|
||||
- [关于 {% data variables.product.prodname_copilot %}](/copilot/overview-of-github-copilot/about-github-copilot)
|
||||
- [About {% data variables.product.prodname_copilot %}](/copilot/overview-of-github-copilot/about-github-copilot)
|
||||
|
||||
@@ -38,6 +38,7 @@ shortTitle: 配置默认编辑器
|
||||
- [RStudio](https://rstudio.com/)
|
||||
- [Nova](https://nova.app/)
|
||||
- [Android Studio](https://developer.android.com/studio)
|
||||
- [Aptana Studio](http://www.aptana.com/)
|
||||
|
||||
{% endmac %}
|
||||
|
||||
@@ -62,6 +63,7 @@ shortTitle: 配置默认编辑器
|
||||
- [Brackets](http://brackets.io/)
|
||||
- [Notepad++](https://notepad-plus-plus.org/)
|
||||
- [RStudio](https://rstudio.com/)
|
||||
- [Aptana Studio](http://www.aptana.com/)
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
|
||||
@@ -29,8 +29,9 @@ shortTitle: 创建和删除分支
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.navigate-to-branches %}
|
||||
1. 单击 **New Branch(新分支)**。 
|
||||
2. 在对话框中,输入分支名称,并根据需要更改分支源。
|
||||
3. 单击 **Create Branch(创建分支)**。 
|
||||
2. In the dialog box, enter the branch name and optionally change the branch source.
|
||||
If the repository is a fork, you also have the option to select the upstream repository as the branch source. 
|
||||
3. 单击 **Create Branch(创建分支)**。 
|
||||
|
||||
### 使用分支下拉列表创建分支
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
|
||||
@@ -80,105 +80,105 @@ upcoming_changes:
|
||||
-
|
||||
location: LockMergeQueueInput.branch
|
||||
description: '`branch` 将被删除。'
|
||||
reason: The merge queue is locked for the repository's default branch, the `branch` argument is now a no-op
|
||||
reason: 存储库的默认分支的合并队列已锁定,“branch”参数现在是 no-op
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: jhunschejones
|
||||
-
|
||||
location: MergeLockedMergeGroupInput.branch
|
||||
description: '`branch` 将被删除。'
|
||||
reason: Changes are merged into the repository's default branch, the `branch` argument is now a no-op
|
||||
reason: 更改将合并到存储库的默认分支中,“branch”参数现在是 no-op
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: jhunschejones
|
||||
-
|
||||
location: ProjectNextFieldType.ASSIGNEES
|
||||
description: '`ASSIGNEES` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.DATE
|
||||
description: '`DATE` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.ITERATION
|
||||
description: '`ITERATION` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.LABELS
|
||||
description: '`LABELS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.LINKED_PULL_REQUESTS
|
||||
description: '`LINKED_PULL_REQUESTS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.MILESTONE
|
||||
description: '`MILESTONE` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.NUMBER
|
||||
description: '`NUMBER` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.REPOSITORY
|
||||
description: '`REPOSITORY` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.REVIEWERS
|
||||
description: '`REVIEWERS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.SINGLE_SELECT
|
||||
description: '`SINGLE_SELECT` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.TEXT
|
||||
description: '`TEXT` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.TITLE
|
||||
description: '`TITLE` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
-
|
||||
location: ProjectNextFieldType.TRACKS
|
||||
description: '`TRACKS` will be removed. Follow the ProjectV2 guide at https://github.blog/changelog/2022-06-23-the-new-github-issues-june-23rd-update/, to find a suitable replacement.'
|
||||
reason: The `ProjectNext` API is deprecated in favour of the more capable `ProjectV2` API.
|
||||
reason: '''ProjectNext'' API 已被弃用,取而代之的是功能更强大的 ''ProjectV2'' API。'
|
||||
date: '2022-10-01T00:00:00+00:00'
|
||||
criticality: 重大
|
||||
owner: lukewar
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
actions/setup-python@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
|
||||
actions/setup-python@{% ifversion actions-node16-action %}v4{% else %}v2{% endif %}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
You can enable or disable {% data variables.product.prodname_copilot %} from within JetBrains. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. 启用后,该图标将突出显示。 禁用后,图标将灰显。
|
||||
|
||||
1. 要启用或禁用 {% data variables.product.prodname_copilot %},请单击 JetBrains 窗口底部面板中的状态图标。 
|
||||
2. If you are disabling {% data variables.product.prodname_copilot %}, JetBrains will ask whether you want to disable the feature globally, or for the language of the file you are currently editing. To disable globally, click **Disable Completions**. Alternatively, click the button to disable completions for the language of the file you are currently editing. 
|
||||
2. If you are disabling {% data variables.product.prodname_copilot %}, JetBrains will ask whether you want to disable the feature globally, or for the language of the file you are currently editing. 要全局禁用,请单击 **Disable Completions(禁用完成)**。 Alternatively, click the button to disable completions for the language of the file you are currently editing. 
|
||||
@@ -1,4 +1,4 @@
|
||||
1. In the JavaScript file, type the following function header.
|
||||
1. 在 JavaScript 文件中,键入以下函数标头。
|
||||
|
||||
```javascript{:copy}
|
||||
function calculateDaysBetweenDates(begin, end) {
|
||||
|
||||
Reference in New Issue
Block a user