2.1 KiB
2.1 KiB
title, shortTitle, allowTitleToDifferFromFilename, intro, versions, type, permissions, topics, redirect_from
| title | shortTitle | allowTitleToDifferFromFilename | intro | versions | type | permissions | topics | redirect_from | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Writing pull request descriptions with {% data variables.copilot.copilot_autocomplete_pr %} | Write PR descriptions | true | Write pull request descriptions more quickly and accurately with {% data variables.copilot.copilot_autocomplete_pr %}. |
|
how_to | Members of an enterprise with a subscription to [{% data variables.copilot.copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise) |
|
|
{% data reusables.copilot.text-completion-preview %}
Using {% data variables.copilot.copilot_autocomplete_pr %}
You can use {% data variables.copilot.copilot_autocomplete_pr %} in the description of a new pull request you're creating.
- On {% data variables.product.github %}, create a pull request.
- In the description field, start typing your description.
- As you type, {% data variables.product.prodname_copilot_short %} will provide in-line suggestions based on the context of the pull request.
- Review the suggestions, which will be shown in grey.
- To accept a suggestion, press
Tab. - To ignore a suggestion, press
Escor continue typing. {% data variables.product.prodname_copilot_short %} will provide new suggestions as you type, based on the additional context.
- To accept a suggestion, press
- When you're happy with the description, click Create pull request.
Disabling or enabling {% data variables.copilot.copilot_autocomplete_pr %}
You can disable or enable {% data variables.copilot.copilot_autocomplete_pr %} for your pull request descriptions. Your preference will be saved for future pull requests.
- On {% data variables.product.github %}, create a pull request.
- At the top of the description field, select {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} then hover over Autocomplete ({% data variables.release-phases.public_preview_caps %}), and click Disabled or Enabled.