Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 944
dan674 Avatar asked Mar 23 '18 10:03

dan674


People also ask

How do I remove a dot in VSCode?

You can click on View and then Click on Command Palette or type Ctrl + Shift + P keyboard shortcut. Click on Toggle Render Whitespace. This option can be used to toggle Indentation dots in VSCode.

How do I turn on autocomplete VSCode?

You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.)


1 Answers

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.
like image 122
Nick Daria Avatar answered Sep 18 '22 18:09

Nick Daria