Reputation: 91
I recently installed Github CoPilot extension in my VSCode editor (v1.76.1) on Ubuntu 20.04. I am able to trigger inline suggestions using Alt + \
, but I am unable to use Alt + [ or Alt + ]
shortcuts to navigate between suggestions. Additionally, when I hover over the inline suggestion, I don't see the "prev" and "next" options.
I have confirmed that I am running the latest version of CoPilot (v1.77.9225
) and CoPilot Labs (v0.12.791
). I have also checked my keyboard shortcut settings for Github CoPilot and they seem to be correct (see attached photo).
Is anyone else experiencing this issue? Any suggestions on how to resolve it would be greatly appreciated. Thank you.
Attached photos:
Screenshot showing keyboard shortcut settings for Github CoPilot:
Upvotes: 6
Views: 5465
Reputation: 73
In settings.json, delete this line of code:
"editor.inlineSuggest.showToolbar": "always",
settings.json can be opened by clicking Edit in settings.json
in Github Copilot settings under File > Preferences > Settings > Extensions > Copilot in VSCode.
Now, the inline suggestions toolbar should show.
Read more: https://code.visualstudio.com/updates/v1_75#_redesigned-inline-suggestions-toolbar
Upvotes: 0
Reputation: 1
Add or change setting.json this line like this:
"editor.inlineSuggest.enabled": true
Upvotes: 0
Reputation: 11341
What worked for me was to set these two shortcuts here (which were unset on my VSCodium installation):
FWIW, this is what gets added to keybindings.json
:
{
"key": "alt+9",
"command": "editor.action.inlineSuggest.showNext"
},
{
"key": "alt+8",
"command": "editor.action.inlineSuggest.showPrevious"
}
Upvotes: 0