Disable Autocomplete on . (dot) in VSCode
Visual Studio-CodeAutocompleteVscode SettingsVisual Studio-Code Problem Overview
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.
Visual Studio-Code Solutions
Solution 1 - Visual Studio-Code
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.
Solution 2 - Visual Studio-Code
- 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)