Using this command on the console view.scope_name(view.sel()[0].begin())
I found the scope for the xml to be text.xml
. Below is what I have but when I try it in my xml file it does not work. when I type, the suggestion field does not pop up at all.
<snippet>
<content><![CDATA[
This is my text
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>New xml</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.xml</scope>
</snippet>