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:
-
cmd +
, orctrl +
, - scroll down until you see
Files: Associations
- Click on
edit
insettings.json
- paste the code above and save.
- open vs code editor.
- under left hand corner => click
setting
- "text editor" =>
suggestion
. - uncheck the
Accept Suggestion On Commit Character
(it could be placed on the first line of suggestion)