Home > other >  How to disable the first suggestions in vscode
How to disable the first suggestions in vscode

Time:03-29

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

CodePudding user response:

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