0
我有下面的代碼片段:崇高片段沒有將範圍限定至HTML
<snippet>
<content><![CDATA[
<label for="my-id">Name:</label>
<input type="text" id="my-name" name="my-name" value="enter your name" />
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>htmlLabel</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.html</scope>
<description>Html Label and input</description>
</snippet>
應該作用域爲HTML。當我使用C#或純文本時,它不在那裏,但在Markdown中是IS。
這可能會回答我在Sublime Text論壇上的問題。 https://www.sublimetext.com/forum/viewtopic.php?f=3&t=20179 – BanksySan