How to disable HTML autocompletion in VSCode?

"emmet.excludeLanguages": ["typescriptreact"] // or whatever languages you want to exclude

like "emmet.excludeLanguages": ["javascript"]

Which will stop emmet from working at all in those languages you specify.

Or you can also try:

"[typescriptreact]": {
   "editor.acceptSuggestionOnEnter": "off"
}, 

or

"[javascript]": {
   "editor.acceptSuggestionOnEnter": "off"
},

together with

"emmet.showExpandedAbbreviation": "never",

to keep emmet features in your language but disable seeing the abbreviation and accepting it on enter.

Leave a Comment