When using GitHub Copilot with VS Code, by default, it uses Tab to accept CoPilot's suggestion.
But sometimes I want to genuinely make a tab at a point in the code where CoPilot has other ideas.
How can I make a tab in that position without triggering Copilot?
I assume you know you can hit Esc to get rid of the current suggestion and then hit Tab? I realize this may be common sense, but just in case, I wanted to point it out!
But, that does ruin your flow.
If you want to actually change the key, you can follow the other folks in here that guide you to do that!
Today there isn't a solution to this problem, but a possible workaround is to change the copilot shortcut that accepts the suggestion.
On VS Code: File>preferences>Keyboard shortcuts
and search for 'editor.action.inlineSuggest.commit', the command that accepts the Copilot suggestion.
I used the shortcut Alt+a to avoid conflicts with other commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With