Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you turn off Emmet abbreviations entirely?

Emmet abbreviations are routinely getting in my way when writing jsx/tsx code, popping up and taking precedence over methods or other completions I actually want. For instance, in this screenshot the Emmet abbreviation is getting in the way of auto-completing the replace method on a string:

enter image description here

This happens surprisingly frequently.

I don't currently use Emmet. Is there any way to turn them off entirely, or at least in .js, .jsx, .ts, and .tsx files? I've kicked around the settings a fair bit and while there are lots of Emmet-related options, I can't find a simple off switch! :-)

like image 376
T.J. Crowder Avatar asked Dec 07 '25 13:12

T.J. Crowder


1 Answers

You can turn emmet off in suggestions completely with:

{
    "emmet.showExpandedAbbreviation": "never"
}

You can turn emmet off by language with:

 "emmet.excludeLanguages": [
    "typescriptreact", "javascriptreact"
  ],
like image 68
Mark Avatar answered Dec 10 '25 22:12

Mark



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!