# Visual Studio Code: Accept Suggestion on Enter

The text suggestion upon pressing the enter key in VS Code has been a really annoying feature; too many times have I pressed it at the end of a line in which it replaces the word that I wanted, with something that it indexed instead.

Even it’s smart mode isn’t that smart - there’s still a high incidence of false-positives. However, there isn’t an option that says, ‘Only accept if the tab key is pressed, instead of enter' even though the configuration seems to suggest this is possible.

Unfortunately that, I have to switch this behaviour off totally:

"editor.acceptSuggestionOnEnter": "off"