Creating custom Emmets / Snippets #15
-
Hi, I have this specific use case where from my extension, I want users to be able to type Edit1:
Edit2:
Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Emmet snippets can really only be used for HTML and CSS. For other languages, it'll be best to use the snippets feature. Emmet HTML abbreviations also have their own syntax, such as |
Beta Was this translation helpful? Give feedback.
Emmet snippets can really only be used for HTML and CSS. For other languages, it'll be best to use the snippets feature. Emmet HTML abbreviations also have their own syntax, such as
ul>li
.I'm unable to find a sample for
.tmSnippets
but there is this Markdown file that explains the snippets syntax some more: https://github.com/microsoft/vscode/blob/main/src/vs/editor/contrib/snippet/browser/snippet.md