Daniel
Daniel

Reputation: 859

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

Upvotes: 9

Views: 7638

Answers (5)

A.E.Pacal
A.E.Pacal

Reputation: 61

You can use this setting:

"editor.wordBasedSuggestions": false

Upvotes: 6

Klesun
Klesun

Reputation: 13673

In UI it's:

Edit -> Perferences -> Settings -> Text Editor -> Suggestions -> Javascript > Suggest: Names

Upvotes: 2

Pieter Heemeryck
Pieter Heemeryck

Reputation: 683

// 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

Upvotes: 4

Georgi Kirilov
Georgi Kirilov

Reputation: 11

You can use this one as I had problems with javascript function snippet not being on top

  "editor.suggest.filteredTypes": {
     "keyword": false
  },

Upvotes: 1

Braca
Braca

Reputation: 2805

Try adding:

"javascript.nameSuggestions": false

Upvotes: 14

Related Questions