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.

Prerequisite

To use Copilot in your IDE, you need either limited access through Copilot Free or a paid Copilot plan for full access. For more information about how to get access and choose the right plan, see What is GitHub Copilot?.

About GitHub Copilot in Eclipse

Installing GitHub Copilot in Eclipse allows you to receive coding suggestions from Copilot as you type. You also automatically get access to GitHub Copilot Chat, which allows you to chat with Copilot.

Note

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

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

Version compatibility

To use the GitHub Copilot extension, you must have Eclipse version 2024-09 or above. See the Eclipse download page.

Installing GitHub Copilot in Eclipse

  1. Download and install the latest version of GitHub Copilot from the Eclipse Marketplace or directly via the Eclipse Update Site. For more information, see Installing New Software in the Eclipse documentation.

  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