Answer the question
In order to leave comments, you need to log in
How to create an emmet snippet for Brackets with multicursor support?
Hello!
The goal is to create an html view structure
<!-- ${cursor} -->
<div class="${cursor}"></div>
<!-- end ${cursor} -->
"di": "<!-- ${cursor} -->\n\t<div class=\"${cursor}\"></div>\n<!-- end ${cursor}-->"
<snippet>
<content><![CDATA[
<!-- begin $1 -->
<div class="$1">
$2
</div>
<!-- end $1 -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>di</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.html</scope>
</snippet>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question