From VS Code, press F1 or Ctrl + Shift + P. Type "Open Keyboard Shortcuts (JSON)". Add the following to keybindings.json
:
[
{
"key": "tab",
"command": "editor.action.inlineSuggest.commit",
"when": "textInputFocus && inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus"
}
]