How to disable the first suggestions in vscode

Viewed 39

How to disable the first suggestion? when I press tab, it just finishes the word only, different from the second one

enter image description here

I want the first suggestion is deleted, and the second becomes the first suggestion

1 Answers

The first suggestion is keyword (text) suggestion.

The second is a snippet suggestion.

You can change the setting: editor.snippetSuggestions (Editor: Snippet Suggestion in GUI) and set its value to top

"editor.snippetSuggestions": "top"

Or change the setting: editor.suggest.showWords

"editor.suggest.showWords": false

There are many other suggest settings, use the Settings GUI to search for it.

Related