1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/copilot/configuring-github-copilot/configuring-github-copilot-in-jetbrains.md

3.4 KiB

title, intro, product, topics, versions, shortTitle
title intro product topics versions shortTitle
Configuring GitHub Copilot in JetBrains You can enable, configure, and disable {% data variables.product.prodname_copilot %} in a JetBrains IDE. {% data reusables.gated-features.copilot %}
Copilot
feature
copilot
JetBrains

Keyboard shortcuts for {% data variables.product.prodname_copilot %}

You can use the default keyboard shortcuts in JetBrains when using {% data variables.product.prodname_copilot %}. Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command. For more information on rebinding keyboard shortcuts in JetBrains, see the JetBrains documentation.

Action Shortcut
Accept an inline suggestion Tab
Dismiss an inline suggestion Esc
Show next inline suggestion On macOS: Option (⌥) or Alt+]
On Windows: Alt+]
Show previous inline suggestion On macOS: Option (⌥) or Alt+[
On Windows: Alt+[
Trigger inline suggestion On macOS: Option (⌥)+</kbd>
On Windows: Alt+</kbd>
Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) On macOS: Option (⌥) or Alt+Enter
On Windows: Alt+Enter

Enabling or disabling {% data variables.product.prodname_copilot %}

You can enable or disable {% data variables.product.prodname_copilot %} from within your JetBrains IDE. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the JetBrains window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. When enabled, the icon is highlighted. When disabled, the icon is grayed out.

  1. To enable or disable {% data variables.product.prodname_copilot %}, click the status icon in the bottom panel of the JetBrains window. Status icon in JetBrains
  2. If you are disabling {% data variables.product.prodname_copilot %}, you will be asked whether you want to disable it globally, or for the language of the file you are currently editing. To disable globally, click Disable Completions. Alternatively, click the language-specific button to disable {% data variables.product.prodname_copilot %} for the specified language. Disable {% data variables.product.prodname_copilot %} globally or for the current language

Configuring advanced settings for {% data variables.product.prodname_copilot %}

You can manage advanced settings for {% data variables.product.prodname_copilot %} in your JetBrains IDE, such as how your IDE displays code completions, and which languages you want to enable or disable for {% data variables.product.prodname_copilot %}.

  1. In your JetBrains IDE, click the File menu, then click Settings.
  2. Under Languages & Frameworks, click {% data variables.product.prodname_copilot %}.
  3. Under "Disabled languages", select the languages you want to disable {% data variables.product.prodname_copilot %} for.

AWAITING CONFIRMATION ON QUESTION IN PR

{% data reusables.copilot.dotcom-settings %}