GitHub Copilot in Eclipse (Code Completion) [Public Preview] (#54321)
This commit is contained in:
@@ -458,6 +458,37 @@ After updating the extension, Xcode must be restarted for the changes to take ef
|
||||
|
||||
{% endxcode %}
|
||||
|
||||
{% eclipse %}
|
||||
|
||||
{% data reusables.copilot.eclipse-public-preview-note %}
|
||||
|
||||
## About {% data variables.product.prodname_copilot %} in Eclipse
|
||||
|
||||
If you use Eclipse, {% data variables.product.prodname_copilot %} can provide code suggestions as you work in the IDE.
|
||||
|
||||
After you install {% data variables.product.prodname_copilot %} in Eclipse, you can enable or disable it, and you can configure advanced settings within the IDE.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
To configure {% data variables.product.prodname_copilot %} in Eclipse, you must install the {% data variables.product.prodname_copilot %} extension. See [AUTOTITLE](/copilot/configuring-github-copilot/installing-the-github-copilot-extension-in-your-environment?tool=eclipse).
|
||||
|
||||
## Using or rebinding keyboard shortcuts for {% data variables.product.prodname_copilot %}
|
||||
|
||||
You can use the default keyboard shortcuts for inline suggestions in Eclipse when using {% data variables.product.prodname_copilot %}. Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command.
|
||||
|
||||
## Rebinding keyboard shortcuts
|
||||
|
||||
If you don't want to use the default keyboard shortcuts for {% data variables.product.prodname_copilot %}, you can rebind the shortcuts in the Key Bindings editor and use your preferred keyboard shortcuts.
|
||||
|
||||
1. In the IDE, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** to open the menu.
|
||||
1. Click **Edit Keyboard Shortcuts...** to rebind the shortcuts.
|
||||
|
||||
## Settings and configurations
|
||||
|
||||
For advanced settings, you can set auto-completion behavior, configure proxy, and assign a {% data variables.product.prodname_enterprise %} authentication endpoint.
|
||||
|
||||
{% endeclipse %}
|
||||
|
||||
## Authenticating to an account on {% data variables.enterprise.data_residency_site %}
|
||||
|
||||
{% data reusables.copilot.sign-in-ghecom %} See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/using-github-copilot-with-an-account-on-ghecom).
|
||||
|
||||
@@ -228,6 +228,40 @@ Before you can use the {% data variables.product.prodname_copilot %} extension f
|
||||
|
||||
{% endxcode %}
|
||||
|
||||
{% eclipse %}
|
||||
|
||||
{% data reusables.copilot.eclipse-public-preview-note %}
|
||||
|
||||
## About {% data variables.product.prodname_copilot %} in Eclipse
|
||||
|
||||
Installing {% data variables.product.prodname_copilot %} in Eclipse allows you to receive coding suggestions from {% data variables.product.prodname_copilot_short %} as you type.
|
||||
|
||||
To see instructions for other popular coding environments, use the tool switcher at the top of the page.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
* **Access to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in Eclipse, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
|
||||
|
||||
* **Compatible version of Eclipse**. To use {% data variables.product.prodname_copilot %} in Eclipse, you must have Eclipse version 2024-09 or above. For more information on the latest versions, see the [Eclipse download page](https://www.eclipse.org/downloads/packages/).
|
||||
|
||||
## Installing {% data variables.product.prodname_copilot %} in Eclipse
|
||||
|
||||
1. Download and install the latest version of {% data variables.product.prodname_copilot %} in the [Eclipse Marketplace](https://aka.ms/copiloteclipse).
|
||||
|
||||
1. After the extension is installed, restart Eclipse to apply the changes.
|
||||
|
||||
1. In the bottom right corner of the Eclipse workbench, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}**, then click **Sign In to {% data variables.product.prodname_dotcom %}**.
|
||||
|
||||
1. In the "Sign In to {% data variables.product.prodname_dotcom %}" dialog box, to copy the device code and open the device activation window, click **Copy Code and Open**.
|
||||
|
||||
1. A device activation window will open in your browser. Paste the device code, then click **Continue**.
|
||||
|
||||
1. {% data variables.product.prodname_dotcom %} will request the necessary permissions for {% data variables.product.prodname_copilot %}. To approve these permissions, click **Authorize {% data variables.product.prodname_copilot %} Plugin**.
|
||||
|
||||
1. After the permissions have been approved, Eclipse will show a confirmation. To begin using {% data variables.product.prodname_copilot %}, click **OK**.
|
||||
|
||||
{% endeclipse %}
|
||||
|
||||
## Next steps
|
||||
|
||||
* **Get started with {% data variables.product.prodname_copilot_short %}** - Learn how to use {% data variables.product.prodname_copilot_short %} in your preferred coding environment. See [AUTOTITLE](/copilot/using-github-copilot/using-github-copilot-code-suggestions-in-your-editor).
|
||||
|
||||
@@ -97,3 +97,17 @@ To authenticate from Visual Studio, follow the steps in [Add your GitHub account
|
||||
For the "{% data variables.product.prodname_enterprise %} URL" field, enter the URL where you access {% data variables.product.github %}. For example: `https://{% data variables.enterprise.data_residency_example_domain %}`.
|
||||
|
||||
{% endvisualstudio %}
|
||||
|
||||
{% eclipse %}
|
||||
|
||||
## Authenticating from Eclipse
|
||||
|
||||
{% data reusables.copilot.eclipse-public-preview-note %}
|
||||
|
||||
1. In the IDE, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** to open the menu.
|
||||
1. Click **Edit Preferences...**.
|
||||
1. In the **{% data variables.product.prodname_enterprise %} Authentication Endpoint** field, enter the URL where you access {% data variables.product.github %}. For example: `https://{% data variables.enterprise.data_residency_example_domain %}`.
|
||||
1. Click **Apply**.
|
||||
1. Open the **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** menu again then click **Sign In to {% data variables.product.prodname_dotcom %}**.
|
||||
|
||||
{% endeclipse %}
|
||||
|
||||
Reference in New Issue
Block a user