Is it able to use `Tab` to generate code snippets for HTML tag?

Hi all,

Most of the IDE that support HTML editing, are able to use Tab key to generate HTML code snippets. For example VSCode or Jetbrains’ IDE, when I input div then press the Tab key, the div becomes <div></div>.

This mode is not similar to current “autocomplete”, it is more like a code snippets generator.

I wonder if or how CodeMirror 6 can implement this function.

This might be what you are looking for.

1 Like

Nice, that’s what I want! Thanks