Co-authored-by: Sarah Edwards <skedwards88@github.com> Co-authored-by: Nick Trogh <1908215+ntrogh@users.noreply.github.com>
4.7 KiB
title, intro, allowTitleToDifferFromFilename, versions, shortTitle, topics
| title | intro | allowTitleToDifferFromFilename | versions | shortTitle | topics | |||
|---|---|---|---|---|---|---|---|---|
| Quickstart for GitHub Copilot | Quickly learn how to use {% data variables.product.prodname_copilot_short %} to suggest code as you type. | true |
|
Quickstart |
|
Introduction
This guide demonstrates how to set up a {% data variables.product.prodname_copilot_for_individuals %} subscription for your personal account, set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, and get your first code suggestion.
To learn more about everything that {% data variables.product.prodname_copilot_short %} can do, see "AUTOTITLE."
To get started using {% data variables.product.prodname_copilot_short %} in other coding environments, see "AUTOTITLE."
Sign up for {% data variables.product.prodname_copilot %}
Start a free trial {% octicon "link-external" height:16 %}
Before you can start using {% data variables.product.prodname_copilot %} through your personal account, you will need to set up a free trial or subscription for {% data variables.product.prodname_copilot_for_individuals %}. For more information, see "AUTOTITLE."
Install {% data variables.product.prodname_vscode %} and the {% data variables.product.prodname_copilot %} extension
-
If you don't already have {% data variables.product.prodname_vscode %} installed, install it from the {% data variables.product.prodname_vscode %} download page.
-
Install the {% data variables.product.prodname_copilot %} extension from the {% data variables.product.prodname_vs %} Marketplace. For more information, see "Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}" in the Microsoft documentation.
Get your first suggestion
Now that you've installed the {% data variables.product.prodname_copilot %} extension, follow these steps to create a new file and get a code suggestion from {% data variables.product.prodname_copilot_short %}.
This example uses JavaScript, however other languages will work similarly. {% data reusables.copilot.supported-languages %}
- Open {% data variables.product.prodname_vscode %}. {% data reusables.copilot.create-js-file %} {% data reusables.copilot.type-function-header %} {% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text. 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! Here are some helpful resources for taking your next steps with {% data variables.product.prodname_copilot %}.
- Configure {% data variables.product.prodname_copilot_short %} in your editor - You can enable or disable {% data variables.product.prodname_copilot %} from within your editor, and create your own preferred keyboard shortcuts for {% data variables.product.prodname_copilot_short %}. For more information, see "AUTOTITLE."
- Get started with {% data variables.product.prodname_copilot_chat %} - Learn how to ask {% data variables.product.prodname_copilot_short %} for information and assistance, using {% data variables.product.prodname_copilot_chat %}. For more information, see "AUTOTITLE"{% ifversion ghec %} and "AUTOTITLE"{% endif %}.
- Use {% data variables.product.prodname_copilot_short %} like a pro - Learn how to write effective prompts for {% data variables.product.prodname_copilot %}. For more information, see "Best practices for using {% data variables.product.prodname_copilot %} in VS Code" in the {% data variables.product.prodname_vscode %} documentation.
- Troubleshoot issues - Learn more about how to troubleshoot common issues with {% data variables.product.prodname_copilot %}. For more information, see "AUTOTITLE."