Vscode: Disabling Emmet doesnt stop some of the Emmet commands from showing up

Created on 13 Sep 2018  路  6Comments  路  Source: microsoft/vscode

I would like to disable Emmet.. And I mean, Disable ALL of it..
As if it's not in VS code at all..

It just pollutes the commands list.

image

If Emmet was an extension, I could just uninstall it.. but it seems to be built in and not able to remove it.

bug emmet

Most helpful comment

@WORMSS, If you open the extensions tab and type @builtin to the search box, Emmet is a built in extension that will appear and you can disable it in a specific workspace or entirely:

screen shot 2018-09-13 at 8 42 01 am

All 6 comments

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@WORMSS, If you open the extensions tab and type @builtin to the search box, Emmet is a built in extension that will appear and you can disable it in a specific workspace or entirely:

screen shot 2018-09-13 at 8 42 01 am

Ahh, thank you @lannonbr I had no idea you could list the built in..

The irony, now that I know extensions can show extra stuff. I have noticed the ... dots to list everything.. I am sorry I feel so dumb..

image

@lannonbr it seems it doesn't disable it enough..
2 commands are still added.. And if you try to call them, they throw an error..

image

image

image

@octref The 2 commands in
https://github.com/Microsoft/vscode/issues/58600#issuecomment-421003237 are contributed by the core and not the built-in extensions.

Since extensions have no way of knowing the language under the cursor, we use the core command Emmet: Expand Abbreviation to figure out the language and then call the corresponding command from the built-in extension. This was done to avoid regression when we moved the Emmet features out to an extension.

The way to fix this bug is for the core to somehow figure out that the built-in extension is disabled, and then disable the above 2 commands

Why is Emmet even built-in anyway? I doubt even 10% of VS Code users use it.

Was this page helpful?
0 / 5 - 0 ratings