0
我已經爲txt擴展創建了示例片段,但它不起作用。我無法找出問題。爲txt範圍創建片段
我使用ST3
我現在用的樣品。
<snippet>
<content><![CDATA[
Hello, ${1:this} is a ${2:snippet}.
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>hello</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.txt</scope>
</snippet>
我
保存的文件應用程序數據\漫遊\崇高的文本3個\包\用戶
保存文件作爲
hello.sublime - 摘錄
如果您只希望代碼片段以純文本文件工作,則作用域需要爲「text.plain」,因爲「text」也會觸發HTML,Markdown和其他語法片段。另外,你不需要改變'auto_complete_selector'。 – MattDMo