Search code examples
visual-studio-codegithub-copilot

Accept Github Copilot inline suggestion with right arrow key instead of tab in VSCode


As mentioned, how can I accept the Github Copilot inline suggestion with the right arrow key instead of the tab key in VSCode?


Solution

    1. Click File -> Preferences -> Keyboard shortcuts.
    2. Search for 'editor.action.inlineSuggest.commit' (command that accepts the Copilot suggestion).
    3. Double click it and assign new shortcut, for example right arrow key.