As mentioned, how can I accept the Github Copilot inline suggestion with the right arrow key instead of the tab
key in VSCode?
Asked
Active
Viewed 1,651 times
5

GorvGoyl
- 42,508
- 29
- 229
- 225
1 Answers
7
- Click
File -> Preferences -> Keyboard
shortcuts. - Search for
'editor.action.inlineSuggest.commit'
(command that accepts the Copilot suggestion). - Double click it and assign new shortcut, for example
right arrow key
.

Gregory L
- 376
- 3
- 5
-
It works most of the time, but sometimes it just move the cursor instead of accepting the suggestion. For example when the autocomplete modal is open. I tried to modify the "when" condition of several shortcuts but without any success. Any idea how to fix that ? – Co_42 May 23 '23 at 14:50