You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See below video for examples. The plugin currently suggests invalid HTML tags, and seems to just match any given string. In VSCode, it does not do this. It only suggests Emmet Autocomplete when there is a valid HTML tag.
CodeMirror:
Screen.Recording.2023-02-21.at.5.09.43.PM.mov
VSCode:
Screen.Recording.2023-02-21.at.5.10.01.PM.mov
The text was updated successfully, but these errors were encountered:
In terms of Emmet, there's no such thing as valid/invalid HTML tag. It can expand any word into tag, which could be custom XML or component tag in Vue/Angular/Svelte/JSX.
That's why it doesn't suggest anything as autocomplete in CM6, it only adds subtle hint that given word can be expanded. You can disable this hint or change it with CSS
That makes sense, but is there a reason VSCode behaves differently?
The CM plugin API doesn't seem to allow us to see potential expansions and perform further filtering to only display UI elements when those suggestions make sense.
See below video for examples. The plugin currently suggests invalid HTML tags, and seems to just match any given string. In VSCode, it does not do this. It only suggests Emmet Autocomplete when there is a valid HTML tag.
CodeMirror:
Screen.Recording.2023-02-21.at.5.09.43.PM.mov
VSCode:
Screen.Recording.2023-02-21.at.5.10.01.PM.mov
The text was updated successfully, but these errors were encountered: