Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the key mapping of Github Copilot autocomplete in Visual Studio

Is there any way to change the mapping for Copilot autocomplete in Visual Studio 2022? I don't see it in the standard Copilot mapping options. Intellicode autocomplete and CoPilot are at odds and I'd rather not lose either if I can help it.

I checked the standard keyboard mapping in Visual studio. It appears as thought there's a keymapping for autocomplete in general and I'm unable to separate the two. If that's the case, I'll just turn Copilot off but I was hoping someone might know if there's a way.

like image 811
John Avatar asked Dec 04 '25 23:12

John


1 Answers

You can use Ctrl+Space to activate built in autocomplete and Enter to accept. Then, use Tab for co-pilot auto complete. To use Tab to enter an actual tab character, you have to reject the co-pilot suggestion first. I can't find a way to change the key bindings to be better in VS-2022 but, using Ctrl+Space allows you to access the functionality you are requesting without changing key bindings.

like image 102
user1737748 Avatar answered Dec 07 '25 17:12

user1737748