{% jetbrains %}
You can use the default keyboard shortcuts for inline suggestions in your JetBrains IDE when using {% data variables.product.prodname_copilot %}.
| Action | Shortcut |
|---|---|
| Accept an inline suggestion | Tab |
| Dismiss an inline suggestion | Esc |
| Show next inline suggestion | Option (⌥) or Alt+] |
| Show previous inline suggestion | Option (⌥) or Alt+[ |
| Trigger inline suggestion | Option (⌥)+\ |
| Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) | Option (⌥) or Alt+Return |
| Action | Shortcut |
|---|---|
| Accept an inline suggestion | Tab |
| Dismiss an inline suggestion | Esc |
| Show next inline suggestion | Alt+] |
| Show previous inline suggestion | Alt+[ |
| Trigger inline suggestion | Alt+\ |
| Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) | Alt+Enter |
| Action | Shortcut |
|---|---|
| Accept an inline suggestion | Tab |
| Dismiss an inline suggestion | Esc |
| Show next inline suggestion | Alt+] |
| Show previous inline suggestion | Alt+[ |
| Trigger inline suggestion | Alt+\ |
| Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) | Alt+Enter |
{% endjetbrains %}
{% visualstudio %}
You can use the default keyboard shortcuts for inline suggestions in {% data variables.product.prodname_vs %} when using {% data variables.product.prodname_copilot %}. You can search for each keyboard shortcut by its command name in the Keyboard Shortcuts editor.
| Action | Shortcut | Command name |
|---|---|---|
| Show next inline suggestion | Alt+. | Edit.NextSuggestion |
| Show previous inline suggestion | Alt+, | Edit.PreviousSuggestion |
{% endvisualstudio %}
{% vscode %}
You can use the default keyboard shortcuts for {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}. Search keyboard shortcuts by command name in the Keyboard Shortcuts editor.
| Action | Shortcut | Command name |
|---|---|---|
| Accept an inline suggestion | Tab | editor.action.inlineSuggest.commit |
| Dismiss an inline suggestion | Esc | editor.action.inlineSuggest.hide |
| Show next inline suggestion | Option (⌥)+] |
editor.action.inlineSuggest.showNext |
| Show previous inline suggestion | Option (⌥)+[ |
editor.action.inlineSuggest.showPrevious |
| Trigger inline suggestion | Option (⌥)+\ |
editor.action.inlineSuggest.trigger |
| Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) | Ctrl+Return | github.copilot.generate |
| Toggle {% data variables.product.prodname_copilot %} on/off | No default shortcut | github.copilot.toggleCopilot |
| Action | Shortcut | Command name |
|---|---|---|
| Accept an inline suggestion | Tab | editor.action.inlineSuggest.commit |
| Dismiss an inline suggestion | Esc | editor.action.inlineSuggest.hide |
| Show next inline suggestion | Alt+] | editor.action.inlineSuggest.showNext |
| Show previous inline suggestion | Alt+[ | editor.action.inlineSuggest.showPrevious |
| Trigger inline suggestion | Alt+\ | editor.action.inlineSuggest.trigger |
| Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) | Ctrl+Enter | github.copilot.generate |
| Toggle {% data variables.product.prodname_copilot %} on/off | No default shortcut | github.copilot.toggleCopilot |
| Action | Shortcut | Command name |
|---|---|---|
| Accept an inline suggestion | Tab | editor.action.inlineSuggest.commit |
| Dismiss an inline suggestion | Esc | editor.action.inlineSuggest.hide |
| Show next inline suggestion | Alt+] | editor.action.inlineSuggest.showNext |
| Show previous inline suggestion | Alt+[ | editor.action.inlineSuggest.showPrevious |
| Trigger inline suggestion | Alt+\ | editor.action.inlineSuggest.trigger |
| Open {% data variables.product.prodname_copilot %} (additional suggestions in separate pane) | Ctrl+Enter | github.copilot.generate |
| Toggle {% data variables.product.prodname_copilot %} on/off | No default shortcut | github.copilot.toggleCopilot |
{% endvscode %}
{% xcode %}
You can use the default keyboard shortcuts for inline suggestions in Xcode when using {% data variables.product.prodname_copilot %}. Alternatively, you can rebind the shortcuts to your preferred keyboard shortcuts for each specific command.
| Action | Shortcut |
|---|---|
| Accept the first line of a suggestion | Tab |
| View full suggestion | Hold Option |
| Accept full suggestion | Option+Tab |
{% endxcode %}
{% eclipse %}
You can use the default keyboard shortcuts for inline suggestions in Eclipse when using {% data variables.product.prodname_copilot %}.
{% endeclipse %}
{% vimneovim %}
You can rebind the keyboard shortcuts in Vim/Neovim when using {% data variables.product.prodname_copilot %} to use your preferred keyboard shortcuts for each specific command. For more information, see the Map article in the Neovim documentation.
{% endvimneovim %}
