Skip to main content

Installing the GitHub Copilot extension in your environment

To use Copilot in your preferred coding environment, follow the steps for your chosen IDE.

Getting access to GitHub Copilot

There are different ways to get access to Copilot.

Type of userHow to get access to Copilot
Individual
Organization

Note

GitHub Copilot in Eclipse is in public preview and subject to change.

About GitHub Copilot in Eclipse

Installing GitHub Copilot in Eclipse allows you to receive coding suggestions from Copilot as you type.

To see instructions for other popular coding environments, use the tool switcher at the top of the page.

Prerequisites

  • Access to Copilot. To use GitHub Copilot in Eclipse, you must have an active GitHub Copilot subscription. For information about how to get access to Copilot, see What is GitHub Copilot?.

  • Compatible version of Eclipse. To use GitHub Copilot in Eclipse, you must have Eclipse version 2024-09 or above. For more information on the latest versions, see the Eclipse download page.

Installing GitHub Copilot in Eclipse

  1. Download and install the latest version of GitHub Copilot in the Eclipse Marketplace.

  2. After the extension is installed, restart Eclipse to apply the changes.

  3. In the bottom right corner of the Eclipse workbench, click Copilot, then click Sign In to GitHub.

  4. In the "Sign In to GitHub" dialog box, to copy the device code and open the device activation window, click Copy Code and Open.

  5. A device activation window will open in your browser. Paste the device code, then click Continue.

  6. GitHub will request the necessary permissions for GitHub Copilot. To approve these permissions, click Authorize GitHub Copilot Plugin.

  7. After the permissions have been approved, Eclipse will show a confirmation. To begin using GitHub Copilot, click OK.

Next steps