Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable word based suggestion in Visual Studio Code

I want to disable word based suggestion, it's annoying and useless in my opinion. For example Brackets will offer suggestion for variables, methods and language and will not pollute the suggestion list with all similar words written in file.

I just want code suggestion. I tried "editor.wordBasedSuggestions": false, but no luck. How to change that ? Thanks.

Example: Example

like image 512
Daniel Avatar asked Jun 16 '18 19:06

Daniel


People also ask

How do I Turn Off suggestion popup in Visual Studio Code?

This short guide shows you how to turn OFF (and ON as needed) the suggestion popup that automatically shows up when you mouse over your code in Visual Studio Code. 1. Go to: Code > Preferences > Settings if you’re on a Mac (hotkeys: Command + ,)

How do I turn off suggestions in Intellicode?

Suggestions is turned on by default for Visual Studio version 16.7 and above. If you wish to turn it off, choose Tools > Options, IntelliCode General tab, and then switch C# suggestions to Disabled: Learn how to use a single Quick Action to refactor, generate, or otherwise modify your code. Read an overview of IntelliCode for Visual Studio.

How to remove snippets from the suggestions widget in VS Code?

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 I Turn Off the suggestion tooltip in illustrator?

File > Preferences > Settings if you’re using Windows (hotkeys: Ctrl + ,) 2. Type “editor.hover.enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.


2 Answers

Try adding:

"javascript.nameSuggestions": false
like image 190
Braca Avatar answered Sep 23 '22 18:09

Braca


// Controls if suggestions should be accepted 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions.

"editor.acceptSuggestionOnEnter": "off"

from here

like image 37
Pieter Heemeryck Avatar answered Sep 19 '22 18:09

Pieter Heemeryck