How do I disable suggestions for plain text documents in VScode?

Viewed 437

I sometimes use VScode for plain text documents, however I'm constantly interrupted by suggestions to use particular words:

enter image description here

How can I stop this behavior for txt files? I would still like suggestions for code.

Via this VScode bug and various related bugs I've attempted the following:

"[txt]": {
    "editor.quickSuggestions": false
  }

However that does not stop the suggestions from happening.

2 Answers

Found the answer to this one myself, via this screenshot on a related bug - pasting it here to help others:

  "[plaintext]": {
    "editor.wordBasedSuggestions": false,
    "editor.quickSuggestions": false
  },

this worked for me:

  1. command palette -> Preferences: configure language specific settings
  2. under suggestions, go to Editor: Quick suggestions, and under the other item, change the value from on to off.

Note there were two other confusingly-named settings: Inline suggest: enabled and `Editor: Snippet suggestions". I had no idea what they meant, but they were not relevant here.

Related