Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to turn off code suggestions in Visual Studio Code

I have following settings.json:

"editor.quickSuggestions": false, "editor.suggestOnTriggerCharacters": false, "editor.wordBasedSuggestions": false, "editor.quickSuggestionsDelay": 1000000 

but despite that the code suggestions display immidiately after I write the code like this (javascript):

enter image description here

Other settings in settings.json are adopted properly, e.g. "editor.fontSize": 17.

Here is documentation for the Visual Studio Code IntelliSense where I found the settings above. I use VS Code 1.6.0 on OS X (I experienced it also on previous versions of the editor).

I have all the settings in User Settings settings.json, my Workspace Settings settings.json is empty.

like image 630
Peter Avatar asked Oct 11 '16 07:10

Peter


People also ask

How do I turn off auto suggestion in VSCode?

By default, VS Code shows snippets and completion proposals in one widget. You can control the behavior with the editor. snippetSuggestions setting. To remove snippets from the suggestions widget, set the value to "none" .

How do you turn off code in VS code?

Go to File > Preferences > Settings. Under drop-down Text Editor , search for Code Lens and disable it.


2 Answers

You turned off code completion correctly. But parameter hints are still active. Turn them off with the following entry in your settings.json:

"editor.parameterHints.enabled": false 
like image 72
Wosi Avatar answered Oct 15 '22 19:10

Wosi


FTFY: It's actually

 // Enables parameter hints "editor.parameterHints.enabled": false, 
like image 41
User Avatar answered Oct 15 '22 18:10

User