1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/copilot/how-tos/completions/using-copilot-text-completion.md

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 %}.
feature
copilot
how_to Members of an enterprise with a subscription to [{% data variables.copilot.copilot_enterprise %}](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)
Copilot
/copilot/using-github-copilot/using-copilot-text-completion

{% 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.

  1. On {% data variables.product.github %}, create a pull request.
  2. In the description field, start typing your description.
  3. As you type, {% data variables.product.prodname_copilot_short %} will provide in-line suggestions based on the context of the pull request.
  4. Review the suggestions, which will be shown in grey.
    • To accept a suggestion, press Tab.
    • To ignore a suggestion, press Esc or continue typing. {% data variables.product.prodname_copilot_short %} will provide new suggestions as you type, based on the additional context.
  5. 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.

  1. On {% data variables.product.github %}, create a pull request.
  2. 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.

Further reading