How to avoid this annoying autocomplete in visual studio code

Search your workspace settings for Editor: Accept Suggestion On Enter and set it to Off. Now when you type import numpy as np you will see numpy as the suggested completion. If you hit tab, VSC will use the suggestion, but if you hit Enter it will not.


Those are snippet suggestions. Try setting:

"editor.snippetSuggestions": "none"

to disable them.


I had this issue and solved it by disabling "accept suggestions on enter" in settings.

This way, the suggestion will still come up but you need to use the tab key to accept the suggestion.

"editor.acceptSuggestionOnEnter": false