问题
I am trying to enable tab auto-completion with pressing "Tab" button but it doesn't work for me and it always works as Tab character when it is supposed to work as autocomplete. Which setting or shortcut should I enable or disable to have this feature?
With pressing "Tab", I will get this;
PS: Pressing "Enter" works fine and accepts the suggestion and I can disable it by setting the following setting to off.
回答1:
Try changing tab completion setting to On:
Editor › tab Completion
"editor.tabCompletion": "on"
Also for HTML/Javascript you could make emmet setting to true
"emmet.triggerExpansionOnTab": true
来源:https://stackoverflow.com/questions/57841968/tab-autocomplete-in-visual-studio-code-doesnt-work