How can I turn off auto-complete for .txt files in VS Code?

Viewed 283

I have a .txt file in VS Code. I use it for typing in plain text.

It suggests auto-completion. I want to keep auto-completion on for other files, such as Python file.

I want to turn of auto-completion suggestions for only .txt files in VS Code. Is that possible?

1 Answers

Make a language-specific setting like this (in your settings.json):

"[plaintext]": {
  "editor.quickSuggestions": {
    "other": false,
    "comments": false,
    "strings": false
  }
}

So you shouldn't get the suggestions automaticallyin a .txt file, you can still trigger them manually if you want with Ctrl+Space.

Related