Disable Autocomplete on . (dot) in VSCode

Example: trying to type return res.data

after typing the . it autocompletes to return resizeBy.

Have already turned off autocomplete on enter, and don't want to turn off editor.quickSuggestions completely as I still like the menu coming up (just not taking over too much).

Can't find very much about this online at all.


place this in your settings.json file:

"editor.acceptSuggestionOnCommitCharacter": false,

To open settings.json file:

  1. cmd + , or ctrl +,
  2. scroll down until you see Files: Associations
  3. Click on edit in settings.json
  4. paste the code above and save.

  1. open vs code editor.
  2. under left hand corner => click setting
  3. "text editor" => suggestion.
  4. uncheck the Accept Suggestion On Commit Character (it could be placed on the first line of suggestion)