Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code, does not accept suggest on tab

I am currently working on VS Code with GitHub Copilot.

But when I have a suggestion:

enter image description here

And I press "Tab" to accept the suggestion, Vs Code adds a tab in the code:

enter image description here

Someone know how to resolve this ?

like image 809
ThrowsError Avatar asked Jun 10 '26 12:06

ThrowsError


1 Answers

Explanation

In fact VS Code has a prioritization for the same shortcuts. A custom shortcut is more prioritized than a default shortcut. If you have a shortcut for your tab key in your VS Code, that can disorganize the prioritization of the default shortcut.

Solution

I don't find a solution to give a prioritization for a shortcut, so I set the default for all shortcuts using the tab key:

enter image description here

Note: is important to click on "Reset keybinding" to take the default prioritization.

Other solution

It's probably possible that VS Code gives a prioritization with the date of the last update of your shortcut. But I don't try this solution because you need to update all the shortcuts and we have several shortcuts for tab key.

like image 187
ThrowsError Avatar answered Jun 15 '26 05:06

ThrowsError



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!