Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable annoying highlight in Vs Code [duplicate]

As the title says, i just want to know how to disable this annoying highlight in vs code. I want to get a suggestion instantly when i type inside the parentheses but instead first i get an annoying highlight that it wont go out unless i press ESC key.

As you can see in the images, first the console.log() have a weird highlight, that prevents the suggestion to pop up when i type the name of the variable or even functions.

Here is the highlight when i try to type the variable x inside console.log (no suggestion is showing) unless i press Esc key or change to another tab

Here is when i press ESC key and get rid of the highlight, i press x and the suggestion will work instantly

enter image description here

enter image description here

like image 394
tonsofcode Avatar asked Nov 16 '25 19:11

tonsofcode


2 Answers

Look on VsCode settings "Editor>Suggest: Snippets Prevent Quick Suggestions" disable and done.

like image 155
tonsofcode Avatar answered Nov 19 '25 10:11

tonsofcode


I finally found the answer for anyone that found this as annoying as I did. The setting below should be changed to false, the default is true.

"editor.suggest.snippetsPreventQuickSuggestions": false

The other setting can be changed in Editor: Quick Suggestions.

Other should be set to on (which I believe is the default), and strings should be set to on.

like image 31
Brian Avatar answered Nov 19 '25 09:11

Brian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!