Adriano R. Cruz
Adriano R. Cruz

Reputation: 73

Is there anyway to configure vscode to NOT select the first item from the suggestion list?

I'm typing "#myDiv ENTER" and I want to get this:

https://i.sstatic.net/rBd5W.png

But when I type space right after #myDiv, I'm getting this:

https://i.sstatic.net/TFrAb.png

Notice that the first item "-moz any()" is seletected. If I press ENTER now, I'll not get my code.

Is there anyway to configure vscode so that it won't select the first item of that list?

Upvotes: 1

Views: 696

Answers (1)

Daniel Imms
Daniel Imms

Reputation: 50229

You can add this to your settings.json file to make enter not accept suggestions.

"editor.acceptSuggestionOnEnter": false,

You can then only use tab to accept the suggestions.

Upvotes: 2

Related Questions